// pktmonnpik.h
typedef struct _PKTMON_PACKET_CONTEXT_IN {
PKTMON_HEADER Header;
INT Id;
PVOID Value;
USHORT Size;
} PKTMON_PACKET_CONTEXT_IN;
View the official Windows Driver Kit DDI referenceNo description available.
The PKTMON_PACKET_CONTEXT_IN struct is used to contain the packet context, which can represent a piece of data that is meaningful to the component, like a connection ID.
HeaderCommon header for version control.
IdInteger that is meaningful to the component, representing the type of data stored by fields Value and Size.
ValuePointer to the value stored in the packet context.
SizeSize of the data pointed to by Value.
Currently only size 8 (sizeof(UINT64)) is supported. This implies that Value should point to a UINT64.