// pktmonnpik.h
typedef struct _PKTMON_EVT_STREAM_PACKET_DESCRIPTOR {
ULONG PacketOriginalLength;
ULONG PacketLoggedLength;
ULONG PacketMetaDataLength;
} PKTMON_EVT_STREAM_PACKET_DESCRIPTOR;
View the official Windows Driver Kit DDI referenceNo description available.
The PKTMON_EVT_STREAM_PACKET_DESCRIPTOR structure contains a packet descriptor used for event streaming.
PacketOriginalLengthThe original packet length.
PacketLoggedLengthRepresents the length of the part of the packet that was logged. This will be same as PacketOriginalLength if the packet was not truncated when logged, otherwise it will be shorter.
PacketMetaDataLengthLength of the metadata.
[!NOTE] It's important to rely on PacketMetaDataLength instead of the size of structure PKTMON_EVT_STREAM_METADATA as this structure might increase in size in future releases.