int stdcall YW_TCPIPDisConnetAllReader()
断开所有的读卡器
int stdcall YW_TCPIPDisConnetAllReader()
function YW_TCPIPDisConnetAllReader(): Integer;stdcall;external 'YW60x.dll';
Public Declare Function YW_TCPIPDisConnetAllReader Lib "YW60x.dll" () As Long
public int YW_TCPIPDisConnetAllReader()
{
int ret;
try
{
JNative fuc = new JNative("YW60x.dll", "YW_TCPIPDisConnetAllReader");
fuc.setRetVal(Type.INT);
fuc.invoke();
ret = fuc.getRetValAsInt();
}
catch(NativeException e)
{
ret = -1;
}
catch(IllegalAccessException e)
{
ret = -2;
}
return ret;
}
[DllImport("YW60x.dll")]
public static extern int YW_TCPIPDisConnetAllReader();
public FUNCTION long YW_TCPIPDisConnetAllReader() library "YW60x.dll"