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.
Create an asynchronous-resource loader.
Syntax
HRESULT D3DX10CreateAsyncResourceLoader(
  _In_  HMODULE           hSrcModule,
  _In_  LPCTSTR           pSrcResource,
  _Out_ ID3DX10DataLoader **ppDataLoader
);
Parameters
- 
hSrcModule [in] 
- 
Type: HMODULE Handle to the resource module. Use GetModuleHandle Function to get the handle. 
- 
pSrcResource [in] 
- 
Type: LPCTSTR Name of the resource in hSrcModule. If the compiler settings require Unicode, the data type LPCTSTR resolves to LPCWSTR. Otherwise, the data type resolves to LPCSTR. 
- 
ppDataLoader [out] 
- 
Type: ID3DX10DataLoader** The address of a pointer to the asynchronous-data processor (see ID3DX10DataProcessor Interface). 
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Requirements
| Requirement | Value | 
|---|---|
| Header | 
 | 
See also