YW_TCPIPDisConnectByReaderID
使用ReaderID参数断开读卡器

参数列表:

int stdcall YW_TCPIPDisConnectByReaderID(

int ReaderID

)


参数含义:

参数

类型

方向

含义

ReaderID

Int

IN

目标读卡器ID


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

int stdcall YW_TCPIPDisConnectByReaderID(int ReaderID)


Delphi声明:

function YW_TCPIPDisConnectByReaderID(ReaderID: Integer): Integer;stdcall;external 'YW60x.dll';


VB声明:

Public Declare Function YW_TCPIPDisConnectByReaderID Lib "YW60x.dll" (ByVal ReaderID As Integer) As Long


JAVA声明:

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;

}


C#声明:

        [DllImport("YW60x.dll")]

        public static extern int YW_TCPIPDisConnectByReaderID(int ReaderID);


Power Builder 9 声明:

public FUNCTION long YW_TCPIPDisConnectByReaderID(long lReaderID) library "YW60x.dll" 


支持的RFID读写器:
YW-615