YW_TCPIPDisConnectByIP
使用IP地址参数断开读卡器

参数列表:

int stdcall YW_TCPIPDisConnectByIP(

char *IPAddress

)


参数含义:

参数

类型

方向

含义

IPAddress

char *

IN

目标读卡器的IP地址


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

int stdcall YW_TCPIPDisConnectByIP(char *IPAddress)


Delphi声明:

function YW_TCPIPDisConnectByIP(IPAddress: PChar): Integer;stdcall;external 'YW60x.dll';


VB声明:

Public Declare Function YW_TCPIPDisConnectByIP Lib "YW60x.dll" (ByVal IPAddress As String) As Long


JAVA声明:

public int  YW_TCPIPDisConnectByIP(Pointer IPAddress)

{

int ret;

try

        {

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

                fuc.setRetVal(Type.INT);

                fuc.setParameter(0, IPAddress);

                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_TCPIPDisConnectByIP(char[] IPAddress);


Power Builder 9 声明:

public FUNCTION long YW_TCPIPDisConnectByIP(string IPAddress) library "YW60x.dll"  


支持的RFID读写器:
YW-615