Removes the object identifier from a specified file or directory
#include <WinAPIFiles.au3>
_WinAPI_DeleteObjectID ( $sFilePath )
$sFilePath | Path to the file or directory from the object identifier that is to be deleted. |
Success: | 1. |
Failure: | 0 and sets the @error flag to non-zero. |
The calling process must have $SE_BACKUP_NAME privilege, otherwise, the function fails, and _WinAPI_GetLastError() returns ERROR_ACCESS_DENIED (5).
Search FSCTL_DELETE_OBJECT_ID in MSDN Library.