<td id="n3ws3"></td>
          <th id="n3ws3"></th>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
            <del id="n3ws3"><form id="n3ws3"></form></del>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
          1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
            YW_EY5K_SamReset
            SAM卡復位

            參數(shù)列表:

            int stdcall YW_EY5K_SamReset(int ReaderID,unsigned char SamIndex, unsigned char *DataLen,unsigned char *Data);



            參數(shù)含義:

            參數(shù)列表

            參數(shù)

            類型

            方向

            含義

            ReaderID

            int

            IN

            所要獲取的設備標示ID,范圍0x0000-0xFFFF,如果未知,則ReaderID=0

            SamIndex

            unsigned char

            IN

            SAM卡序號

            0: 讀卡器模擬SAM

            1: SAM卡槽卡一

            2: SAM卡槽卡二

            DataLen

            unsigned char

            OUT

            復位返回的數(shù)據(jù)字節(jié)數(shù)

            Data

            unsigned char*

            OUT

            復位返回的復位信息

            返 回 值:大于0為命令發(fā)送成功,<=0為命令發(fā)送失敗


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

            RFIDFUNCTION YW_EY5K_SamReset(int ReaderID,unsigned char SamIndex, unsigned char *DataLen,unsigned char *Data);


            Delphi聲明:

            function YW_EY5K_SamReset(ReaderID: Integer; SamIndex: Byte; var DataLen: Byte; Data: PByte): Integer;stdcall;external YOWOREADERDLL;


            VB聲明:

            Public Declare Function YW_EY5K_SamReset Lib "YW60x.dll" (ByVal ReaderID As Long, ByVal SamIndex As Byte, Datalen As Byte, data As Byte) As Long


            JAVA聲明:

            public int YW_EY5K_SamReset(int ReaderID,byte SamIndex,Pointer DataLen,Pointer Data)

            {

                    int ret;

            try

                    {

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


                            fuc.setRetVal(Type.INT);

                            fuc.setParameter(0, ReaderID);

                            fuc.setParameter(1, SamIndex);

                            fuc.setParameter(2, DataLen);

                            fuc.setParameter(3, Data);

                            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_EY5K_SamReset(int ReaderID,byte SamIndex,ref byte DataLen,byte[] Data);


            Power Builder 9 聲明:

            支持的RFID讀寫器:
            YW-607, YW-627

              <td id="n3ws3"></td>
                    <th id="n3ws3"></th>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                      <del id="n3ws3"><form id="n3ws3"></form></del>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                    1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
                      国产操逼片 | 日本一区二区三区免费观看 | 影音先锋在线播放99av | 亚洲AV五月天草榴 | 欧美爱爱网站 |