Automation:
HRESULT
OnClassDevice
(
[in]
DateTime
time,
[in]
byte
RequestTypeReservedBits,
[in]
byte
Request,
[in]
ushort
Value,
[in]
ushort
Index)
;
Parameters
time
The time of the event.
RequestTypeReservedBits
Specifies a value, from 4 to 31 inclusive, that becomes part of the request type code in the USB-defined setup packet. This value is defined by USB for a class request or the vendor for a vendor request.
Request
Specifies the USB or vendor-defined request code for the device, interface, endpoint, or other device-defined target.
Value
Specifies a value, specific to Request, that becomes part of the USB-defined setup packet for the target. This value is defined by the creator of the code used in Request.
Index
Specifies the device-defined index, returned by a successful configuration request, if the request is for an endpoint or interface. Otherwise, Index must be zero.
Return Value
S_OK or standard OLE error code.