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

INativeListener.OnPacketDown Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Native (C++):
HRESULT  OnPacketDown ( _FILETIME *  fTime,void *  Data,unsigned long  Size,long *  bStopParsing) ;
Parameters
fTime The time of the event. Data 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;
        
bStopParsing Set to TRUE if you don't need USBMC to parse this packet any more. That means that USBMC will not call methods like OnUrb/OnGetDescriptorFromDevice/OnGetDescriptorFromEndpoint for this packet. That could be used for optimization if you manually parse URB packet.
Return Value
S_OK or standard OLE error code.
Remarks
Called when packet is going down
< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.