YW_USBHIDInitial
USB无驱读写器,初始化USB

参数列表:

YW_USBHIDInitial

无参数


参数含义:

返回值1成功,<=0失败


C++声明(VC++和C++ Builder):

int stdcall YW_USBHIDInitial(void);


Delphi声明:

function YW_USBHIDInitial(): Integer;stdcall;external YOWOREADERDLL;


VB声明:

Public Declare Function YW_USBHIDInitial Lib "YW60x.dll" () As Long


JAVA声明:

public int YW_USBHIDInitial()

{

int ret;

try

{

JNative fuc = new JNative("YW60x.dll", "YW_USBHIDInitial");

fuc.setRetVal(Type.INT);

fuc.invoke();

ret = fuc.getRetValAsInt();

}

catch(NativeException e)

{

ret = -1;

}

catch(IllegalAccessException e)

{

ret = -2;

}

return ret;

}


C#声明:

[DllImport("YW60x.dll")]

public static extern int YW_USBHIDInitial();


Power Builder 9 声明:

public FUNCTION long YW_USBHIDInitial() library "YW60x.dll"


支持的RFID读写器:
YW-605HA, YW-605HB, YW-605HC, YW-620HA, YW-620HB, YW-620HC, YW-608HA, YW-608HB, YW-608HC