DirectX SDK

DirectInputDeviceInstance.GetUsagePage

The DirectInputDeviceInstance.GetUsagePage method retrieves the usage page for Human Interface Devices.

object.GetUsagePage() As Integer

Parameters

object
Object expression that resolves to a DirectInputDeviceInstance object.

Return Values

If the device is a HID, the method returns the HID usage page.

Error Codes

If the method fails, an error is raised and Err.Number will be set.

See Also

DirectInputDeviceInstance.GetUsage