Microsoft DirectX 8.1 (Visual Basic)

DirectInputDeviceInstance8.GetUsagePage

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

object.GetUsagePage() As Integer

Parts

object
Resolves to a DirectInputDeviceInstance8 object.

Return Values

Returns the usage page or 0 for non-HIDs.

Error Codes

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

See Also

DirectInputDeviceInstance8.GetUsage