Using NtDeleteFile from Delphi 刪除 檔案
Using NtDeleteFile from Delphi
The required structures (not defined in Delphi) are UNICODE_STRING and OBJECT_ATTRIBUTES.
function NtDeleteFile(ObjectAttributes:POBJECT_ATTRIBUTES):DWORD; stdcall; external 'ntdll.dll'; RtlDosPathNameToNtPathName_U
留言
張貼留言