ID3DXFile::RegisterEnumTemplates method
Registers custom templates, given an ID3DXFileEnumObject enumeration object.
Syntax
HRESULT RegisterEnumTemplates(
[in] ID3DXFileEnumObject *pEnum
);
Parameters
-
pEnum [in]
-
Type: ID3DXFileEnumObject*
Pointer to an ID3DXFileEnumObject enumeration object that contains templates.
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.
Remarks
When this method is called, it copies templates stored with the ID3DXFileEnumObject, representing the file, to the local template store of the ID3DXFile object.
If an ID3DXFileEnumObject pointer is not available, call the RegisterTemplates method instead.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for