Microsoft DirectX 8.1 (Visual Basic)

DirectInputDeviceInstance8.GetUsage

Retrieves the usage code for Human Interface Devices (HIDs).

object.GetUsage() As Integer

Parts

object
Resolves to a DirectInputDeviceInstance8 object.

Return Values

Returns the HID usage code for HID devices, or 0.

Error Codes

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

See Also

DirectInputDeviceInstance8.GetUsagePage