Automation:
HRESULT
OnGetDescriptorFromInterface
(
[in]
DateTime
time,
[in]
byte
Index,
[in]
byte
DescriptorType,
[in]
ushort
LanguageId)
;
Parameters
time
The time of the event.
Index
Specifies the device-defined index of the descriptor that is being retrieved or set.
DescriptorType
Indicates what type of descriptor is being retrieved or set. One of the following values must be specified:
USB_DEVICE_DESCRIPTOR_TYPE/USB_CONFIGURATION_DESCRIPTOR_TYPE/USB_STRING_DESCRIPTOR_TYPE.
LanguageId
Specifies the language ID of the descriptor to be retrieved when USB_STRING_DESCRIPTOR_TYPE is set in DescriptorType. This member must be set to zero for any other value in DescriptorType.
Return Value
S_OK or standard OLE error code.