Platform SDK: DirectX

D3DXInitialize

The D3DXInitialize function initializes Direct3DX.

HRESULT D3DXInitialize(); 

Parameters

None.

Return Values

If the function succeeds, the return value is S_OK.

If the function fails, the return value may be one of the following values:

D3DXERR_NOMEMORY
D3DXERR_STARTUPFAILED

Remarks

The D3DXInitialize function is the first call made by a Direct3DX application.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxcore.h.
  Library: Use d3dx.lib.

See Also

D3DXUninitialize