D3DX10CreateAsyncFileLoader function

Create an asynchronous-file loader.

Syntax

HRESULT D3DX10CreateAsyncFileLoader(
  _In_  LPCTSTR           pFileName,
  _Out_ ID3DX10DataLoader **ppDataLoader
);

Parameters

pFileName [in]

Type: LPCTSTR

The name of the file to load. If the compiler settings require Unicode, the data type LPCTSTR resolves to LPCWSTR. Otherwise, the data type resolves to LPCSTR.

ppDataLoader [out]

Type: ID3DX10DataLoader**

Address of a pointer to the asynchronous-data loader (see ID3DX10DataLoader Interface).

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Requirements

Requirement Value
Header
D3DX10Async.h

See also

General Purpose Functions