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

觀葉植物 Foliage 樹葉 Houseplants Foliage plants Houseplants Red Leaves 紅色觀葉植物

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