ID3DXFileSaveData::GetId

Retrieves the GUID of this ID3DXFileSaveData file data node.

HRESULT GetId(
  LPGUID pId
);

Parameters

pId
[out] Pointer to a GUID to receive the ID of this file data node. If the 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.