ID3DXFileData::GetType

Retrieves the template ID in this file data object.

HRESULT GetType(
  CONST GUID * pType
);

Parameters

pType
[in] Pointer to the GUID representing the template in this file data object.

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.