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

_IMonitoringEvents.OnSetFeatureToOther Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Automation:
HRESULT  OnSetFeatureToOther ( [in]   DateTime  time, [in]   ushort  FeatureSelector, [in]   ushort  Index) ;
Parameters
time The time of the event. FeatureSelector Specifies the USB-defined feature code to be cleared or set. Using a feature code that is invalid, cannot be set, or cannot be cleared will cause the target to stall. The bus driver will copy the value in the FeatureSelector member to the wValue field of the setup packet. 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. The bus driver will copy the value in the Index member to the wIndex field of the setup packet.
Return Value
S_OK or standard OLE error code.
Remarks
Fired when URB packet with urb.UrbHeader.Function=URB_FUNCTION_SET_FEATURE_TO_OTHER is received. See _URB_CONTROL_FEATURE_REQUEST for more details. The library decodes several parameters from this packet (see above).
< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.