Funzione D3DXFileCreate

Crea un'istanza di un oggetto ID3DXFile .

Sintassi

HRESULT STDAPICALLTYPE D3DXFileCreate(
   ID3DXFile **lplpDirectXFile
);

Parametri

lplpDirectXFile

Tipo: ID3DXFile**

Indirizzo di un puntatore a un'interfaccia ID3DXFile , che rappresenta l'oggetto file X creato.

Valore restituito

Tipo: HRESULT

Se la funzione ha esito positivo, il valore restituito viene S_OK. Se la funzione ha esito negativo, il valore restituito può essere uno dei seguenti: E_POINTER, E_OUTOFMEMORY.

Commenti

Dopo aver usato questa funzione, usare RegisterTemplates o RegisterEnumTemplates per registrare modelli, CreateEnumObject per creare un oggetto enumeratore o CreateSaveObject per creare un oggetto save.

Requisiti

Requisito Valore
Intestazione
D3DX9Xof.h
Libreria
D3dx9.lib

Vedi anche

Funzioni file D3DX X

CreateEnumObject

CreateSaveObject

RegisterEnumTemplates

RegisterTemplates