int stdcall YW_TCPIPDisConnectByReaderID(
int ReaderID
)
参数 |
类型 |
方向 |
含义 |
ReaderID |
Int |
IN |
目标读卡器ID |
int stdcall YW_TCPIPDisConnectByReaderID(int ReaderID)
function YW_TCPIPDisConnectByReaderID(ReaderID: Integer): Integer;stdcall;external 'YW60x.dll';
Public Declare Function YW_TCPIPDisConnectByReaderID Lib "YW60x.dll" (ByVal ReaderID As Integer) As Long
public int YW_TCPIPDisConnectByReaderID(int ReaderID)
{
int ret;
try
{
JNative fuc = new JNative("YW60x.dll", "YW_TCPIPDisConnectByReaderID");
fuc.setRetVal(Type.INT);
fuc.setParameter(0, ReaderID);
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_TCPIPDisConnectByReaderID(int ReaderID);
public FUNCTION long YW_TCPIPDisConnectByReaderID(long lReaderID) library "YW60x.dll"