YW_NDEF_GetRecord
获取内存中的NDEF纪录

参数列表:

int  YW_NDEF_GetRecord

(

int Index, 

ref Byte uri, 

ref int Len, 

Byte[]  s

)


参数含义:

YW_NDEF_ GetRecord方法的作用获取临时列表中NDEF记录


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

int stdcall YW_NDEF_GetRecord(int Index, ref Byte uri, ref int Len, Byte[]  s)


Delphi声明:

function YW_NDEF_GetRecord(Index: Integer; var uri: Byte; var sLen: Integer; PChar s):Integer;stdcall;external "YW60x.dll"


VB声明:

Public Declare Function YW_NDEF_GetRecord Lib "YW60x.dll" (ByVal Index as Integr,ByRef uri As Byte, ByRef sLen As Integer,ByRef s As Byte) As Long


JAVA声明:

public int YW_NDEF_GetRecord(int Index, Pointer uri  Pointer uri  Pointer s)

{

int ret;

try

{

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

fuc.setRetVal(Type.INT);

fuc.setParameter(0,Index);

fuc.setParameter(1, uri);

fuc.setParameter(2,sLen);

fuc.setParameter(3,s);

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_NDEF_GetRecord (int Index,ref Byte uri, ref int uri, Byte[] s)


Power Builder 9 声明:

public FUNCTION long YW_NDEF_GetRecord ( int Index, char uri  int sLen, ref char s[]) library "YW60x.dll"


支持的RFID读写器:
YW-607, YW-615