USB Port Monitoring Control
USB Monitoring Control - USB Device Data Monitoring ActiveX Component Library

_IMonitoringEvents.OnClassDevice Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
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.
Remarks
Fired when URB packet with urb.UrbHeader.Function=URB_FUNCTION_CLASS_DEVICE is received. See _URB_CONTROL_VENDOR_OR_CLASS_REQUEST for more details. The library decodes several parameters from this packet (see above).
< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.