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

INativeListener.OnResetPipe Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Native (C++):
HRESULT  OnResetPipe ( _FILETIME *  fTime,void *  pData,unsigned long  Size,unsigned __int64  PipeHandle) ;
Parameters
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:
C++
        USBPACKET packet;
        ULONG nSize = packet->Size;

        USBPACKET_URB* pUrb = (USBPACKET_URB*)packet;
        ATLASSERT(pUrb->Size==nSize);
      
PipeHandle Specifies an opaque handle to the bulk or interrupt pipe. The host controller driver returns this handle when the client driver selects the device configuration with a URB of type URB_FUNCTION_SELECT_CONFIGURATION or when the client driver changes the settings for an interface with a URB of type URB_FUNCTION_SELECT_INTERFACE.
Return Value
S_OK or standard OLE error code.
Remarks
Fired when URB packet with urb.UrbHeader.Function=URB_FUNCTION_RESET_PIPE is received. See _URB_PIPE_REQUEST for more details.
< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.