Platform SDK: DirectX

DirectInputDeviceInstance.GetUsage

DirectInputDeviceInstance.GetUsage メソッドは、HID (Human Interface Devices) の使用コードを取得する。

object.GetUsage() As Integer

パラメータ

object
DirectInputDeviceInstance オブジェクトを表すオブジェクト式。

戻り値

デバイスが HID である場合、使用コードが返される。

エラー コード

失敗すればエラーが発生し、Err.Number が設定される。

参照

DirectInputDeviceInstance.GetUsagePage