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

留言

這個網誌中的熱門文章

algodaily alternative essential algorithms data structures daily coding inspired lintcode