IDirectXFileObject::GetId

Retrieves a pointer to the GUID that identifies a DirectX file object. Deprecated.

HRESULT GetId(
  LPGUID pGuid
);

Parameters

pGuid
[out, retval] Pointer to a GUID to receive the object's ID. The function will set the GUID to a NULL GUID if the object does not have an ID.

Return Values

If the method succeeds, the return value is DXFILE_OK. If the method fails, the return value can be DXFILEERR_BADVALUE.

Requirements

Header: Declared in Dxfile.h.