DirectInputDevice.GetCapabilities メソッドは、DirectInputDevice オブジェクトの能力を取得する。
object.GetCapabilities(caps As DIDEVCAPS)
失敗すればエラーが発生し、Err.Number が設定される。