Platform SDK: DirectX

Direct3DEnumDevices.GetDesc

Direct3DEnumDevices.GetDesc メソッドは、要求された Direct3D デバイスの能力を返す。

object.GetDesc(index As Long, hwDesc As D3DDEVICEDESC7)

パラメータ

object
Direct3DEnumDevices オブジェクトを表すオブジェクト式。
index
システムに複数の Direct3D デバイスがある場合、このパラメータによってデバイスを識別する。
hwDesc
Direct3D デバイスのハードウェア能力を格納する D3DDEVICEDESC7 型。

エラー コード

メソッドが失敗するとエラーが発生し、Err.Number が設定される。