# Function Reference

# _WinAPI_DeleteObjectID

Removes the object identifier from a specified file or directory

#include <WinAPIFiles.au3>
_WinAPI_DeleteObjectID ( $sFilePath )

## Parameters

$sFilePath | Path to the file or directory from the object identifier that is to be deleted.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero.

## Remarks

The calling process must have $SE_BACKUP_NAME privilege, otherwise, the function fails, and _WinAPI_GetLastError() returns ERROR_ACCESS_DENIED (5).

## See Also

Search FSCTL_DELETE_OBJECT_ID in MSDN Library.