DirectX SDK |
The DirectInputDeviceObjectInstance.GetUsagePage method retrieves the Human Interface Device usage page for the device object.
object.GetUsagePage() As Integer
The method returns the HID usage page associated with the object, if known. Human Interface Devices will always report a usage page. Non-HID devices may optionally report a usage page; if they do not, then the value of this member will be zero.
If the method fails, an error is raised and Err.Number will be set.