无参数,
YW_NDEF_ ClearRecords方法的作用清除临时列表中所有的NDEF记录,
int stdcall YW_NDEF_ClearRecords();
function YW_NDEF_ClearRecords: Integer;stdcall;external 'YW60x.dll';
Public Declare Function YW_NDEF_ClearRecords Lib "YW60x.dll" () As Long
public int YW_NDEF_ClearRecords()
{
int ret;
try
{
JNative fuc = new JNative("YW60x.dll", "YW_NDEF_ClearRecords");
fuc.setRetVal(Type.INT);
fuc.invoke();
ret = fuc.getRetValAsInt();
}
catch(NativeException e)
{
ret = -1;
}
catch(IllegalAccessException e)
{
ret = -2;
}
return ret;
}
[DllImport("YW60x.dll")]
public static extern int YW_NDEF_ClearRecords();
public FUNCTION long YW_NDEF_ClearRecords() library "YW60x.dll"