DirectX SDK

DirectInputDeviceObjectInstance.GetDesignatorIndex

The DirectInputDeviceObjectInstance.GetDesignatorIndex method retrieves the designator index for an object on a Human Interface Device.

object.GetDesignatorIndex() As Integer

Parameters

object
Object expression that resolves to a DirectInputDeviceObjectInstance object.

Return Values

The method returns an index that refers to a designator in the HID physical descriptor. This number can be passed to functions in the HID parsing library to obtain additional information about the device object.

Error Codes

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