Microsoft DirectX 8.1 (C++)

IDirectXFileObject::GetId

Retrieves a pointer to the globally unique identifier (GUID) that identifies a Microsoft® DirectX® file object.

HRESULT GetId(
  LPGUID pGuid
);

Parameters

pGuid
[out, retval] Pointer to a globally unique identifier (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.

Applies To

This method applies to the following interfaces, which inherit from IDirectXFileObject.

Requirements

  Header: Declared in Dxfile.h.
  Import Library: Use D3dxof.lib.