int stdcall YW_G2_LockUser
(
int ReaderID,
int EPCLen,
unsigned char *EPC,
unsigned int Password,
unsigned char UserAddr
)
参数 |
类型 |
含义 |
ReaderID |
int |
老的设备标示ID,范围0x00-0xFF,0xFF为广播地址 |
EPCLen |
int |
要读写的EPC标签EPC长度,字节数 |
EPC |
unsigned char * |
EPC内容 |
Password |
unsigned int |
标签操作的密码,默认为0 |
UserAddr |
unsigned char |
要锁定的用户地址,偶数 |
返 回 值:大于0为成功,小于0为错误
int stdcall YW_G2_LockUser(int ReaderID, int EPCLen, unsigned char *EPC, unsigned int Password, unsigned char UserAddr)
function YW_G2_LockUser(ReaderID: Integer; EPCLen: Integer; EPC: PChar;
Password: Integer; UserAddr: Byte): Integer;stdcall;external YW602DLL;
Public Declare Function YW_G2_LockUser Lib "YW602.dll" (ByVal ReaderID As Long, ByVal EPCLen As Integer, EPC As Byte, _
ByVal Password As Long, ByVal UserAddr As Byte) As Long