Function Reference


_WinAPI_GetObjectID

Retrieves the object identifier for the specified file or directory

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

Parameters

$sFilePath Path to the file or directory from which the object identifier is to be retrieved.

Return Value

Success: $tagGUID structure that contains the object identifier for the file or directory within the volume on which it resides.
Failure: Sets the @error flag to non-zero.

Remarks

Unlike _WinAPI_CreateObjectID(), this function only returns the object identifier. If a file or directory does not
have an object identifier, the function fails.

Related

_WinAPI_CreateObjectID

See Also

Search FSCTL_GET_OBJECT_ID in MSDN Library.