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

INativeListener.OnUrb Method

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< Previous Top Next >
Declaration
Native (C++):
HRESULT  OnUrb ( _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 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 URB is transmitted. See USBPACKET_URB for more information.
< Previous Top Next >
Copyright © 2016 HHD Software. All rights reserved.