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