ID3DXFileData::GetId method

Retrieves the GUID of this file data object.

Syntax

HRESULT GetId(
  [out] 
            LPGUID pId
);

Parameters

pId [out]

Type: LPGUID

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 value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX9Xof.h
Library
D3dx9.lib

See also

ID3DXFileData