Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of an ID3DXFile object.
Syntax
HRESULT STDAPICALLTYPE D3DXFileCreate(
ID3DXFile **lplpDirectXFile
);
Parameters
-
lplpDirectXFile
-
Type: ID3DXFile**
Address of a pointer to an ID3DXFile interface, representing the created .x file object.
Return value
Type: HRESULT
If the function succeeds, the return value is S_OK. If the function fails, the return value can be one of the following: E_POINTER, E_OUTOFMEMORY.
Remarks
After using this function, use RegisterTemplates or RegisterEnumTemplates to register templates, CreateEnumObject to create an enumerator object, or CreateSaveObject to create a save object.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also