fTime
The time of the event.
pData
Pointer to a USBPACKET. Use it to manually parse all fields. See MFCSample for more details.
Size
Total size of USBPACKET and all payload data. Equals to nSize variable:
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.
Remarks
Fired when URB packet with urb.UrbHeader.Function=URB_FUNCTION_CLASS_ENDPOINT is received.
See _URB_CONTROL_VENDOR_OR_CLASS_REQUEST for more details.
The library decodes several parameters from this packet (see above).