![]() |
![]() |
![]() |
Retrieves the globally unique identifier (GUID) of this file data object.
Syntax
HRESULT GetId(
LPGUID pId );
Parameters
- pId
- [out] Pointer to a GUID to receive the identifier (ID) of this file data object. If the file data object has no ID, the returned parameter value will be GUID_NULL.
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DXFERR_BADVALUE A variable is outside its expected range; typically returned when an object pointer is invalid.