函数参考


_WinAPI_GetObjectID

Retrieves the object identifier for the specified file or directory.

#Include <WinAPIEx.au3>
_WinAPI_GetObjectID ( $sPath )

参数

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

返回值

Success $tagGUID structure that contains the object identifier for the file or directory within the volume on which it resides.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

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

相关

详情参考

在MSDN中搜索