• 168网官方开奖结果

    YW_ComFree
    关闭和释放串口资源

    参数列表:

     YW_ComFree()

    无参数


    参数含义:

    关闭和释放串口资源


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

    int stdcall YW_ComFree();


    Delphi声明:

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


    VB声明:

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


    JAVA声明:

    public int YW_ComFree()

    {

    int ret;

    try

    {

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

    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_ComFree();


    Power Builder 9 声明:

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


    支持的RFID读写器:
    YW-605RA, YW-605RB, YW-605RC, YW-605SA, YW-605SB, YW-605SC, YW-605UA, YW-605UB, YW-605UC, YW-608RA, YW-608RB, YW-608RC, YW-608SA, YW-608SB, YW-608SC, YW-608UA, YW-610SA, YW-610SB, YW-610SC, YW-602-R, YW-602-U, YW-602-3, YW-602-8, YW-655, YW-657, YW-656