无参数,
YW_NDEF_ Free方法的作用是释放NDEF各种变量空间。一般只需要在程序结束的时候调用一次.
int stdcall YW_NDEF_Free();
function YW_NDEF_Free: Integer;stdcall;external 'YW60x.dll';
Public Declare Function YW_NDEF_Free Lib "YW60x.dll" () As Long
public int YW_NDEF_Free()
{
int ret;
try
{
JNative fuc = new JNative("YW60x.dll", "YW_NDEF_Initial");
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_Free();
public FUNCTION long YW_NDEF_Free() library "YW60x.dll"