Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the Human Interface Device (HID) usage page for the device object.
object.GetUsagePage() As Integer
Returns the HID usage page associated with the object, if known. (HIDs) will always report a usage page. Non-HID devices might report a usage page; if they do not, the return value is zero.
If the method fails, an error is raised and Err.Number is set.