Platform SDK: DirectX

D3DXGetDeviceCount

D3DXGetDeviceCount 関数は、使用可能なDirect3DX デバイスの最大数を返す。

DWORD D3DXGetDeviceCount(); 

パラメータ

なし。

戻り値

使用可能な Direct3DX デバイスの最大数。

注意

エラーがある場合、この関数は 0 を返す。

動作環境

  Windows NT/2000 : Windows 2000 が必要。
  Windows 95/98 : Windows 95 以上が必要。Windows 95 用に再配布可能な形で使用可能。
  バージョン : DirectX 7.0 が必要。
  ヘッダー : d3dxcore.h で宣言。
  ライブラリ : d3dx.lib を使用。

参照

D3DXGetDeviceCapsD3DXGetDeviceDescription