The time of the event.
Pointer to a USBPACKET. Use it to manually parse all fields. See MFCSample for more details.
Total size of USBPACKET and all payload data. Equals to nSize variable:
ULONG nSize = packet->Size;
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.
Specifies the USB or vendor-defined request code for the device, interface, endpoint, or other device-defined target.
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.
Specifies the device-defined index, returned by a successful configuration request.
S_OK or standard OLE error code.
Fired when URB packet with urb.UrbHeader.Function=URB_FUNCTION_VENDOR_ENDPOINT is received.
See _URB_CONTROL_VENDOR_OR_CLASS_REQUEST for more information.
The library decodes several parameters from this packet (see above).