6 iusbpacket::getfieldvalue, 7 iusbpacket::getallfieldsvalues, Iusbpacket::getfieldvalue – Teledyne LeCroy USB Analyzer Automation Manual User Manual
Page 77: Iusbpacket::getallfieldsvalues
Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
77
USB2 Events:
-1 : Unknown
0 : Chirp K
1 : Chirp J
2 : Full Speed K On High Speed
3 : Full Speed J On High Speed
4 : Suspend
5 : Resume
6 : SE1
7 : SE0
27 : Connect
28 : VBUS Voltage Change
30 : Keep Alive
31 : Reset
4.1.6 IUsbPacket::GetFieldValue
HRESULT GetFieldValue(
[in] BSTR field_name,
[out] VARIANT* field_value )
[out, retval] VARIANT* field_value_bit_size )
Retrieves the value of specified field.
Parameters
field_name
String providing the field name that its value is retrieved.
field_value
Pointer to DWORD or bytes array where field value is retrieved.
If the size of returned value is less than or equal to 4 bytes, the
type is DWORD otherwise it is byte stream
field_value_bit_size
Pointer to Integer variable where size of field value in bit is
retrived.
Return values
Remarks
To retrieve available fields names in this packet call GetAllFieldsValues() function.
4.1.7 IUsbPacket::GetAllFieldsValues
HRESULT GetAllFieldsValues(
[out] VARIANT* fields_names,
[out] VARIANT* fields_values,
[out] VARIANT* fields_values_bit_size,