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

留言

這個網誌中的熱門文章

Kastri - Cross-platform library for Delphi

開機管理 PLOP Bootloader Plop Boot Manager USB Bootable portable

simplifies delphi VCL Libraries General Libraries simplifie Lightweight delphi VCL Libraries General Libraries standard libraries