ID3DXFileData::GetId

Retrieves the GUID of this file data object.

HRESULT GetId(
  LPGUID pId
);

Parameters

pId
[out] Pointer to a GUID to receive the ID of this file data object. If the file data object has no ID, the returned parameter value will be GUID_NULL.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DXFERR_BADVALUE.

Requirements

Header: Declared in D3dx9xof.h.