DirectX SDK

D3DXGetDeviceCount

The D3DXGetDeviceCount function returns the maximum number of Direct3DX devices available.

DWORD D3DXGetDeviceCount(); 

Parameters

None.

Return Values

The maximum number of Direct3DX devices available.

Remarks

If there is an error, this function will return 0.

Requirements

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

See Also

D3DXGetDeviceCaps, D3DXGetDeviceDescription