// pktmonclntk.h
typedef struct _PKTMON_COMPONENT_CONTEXT {
LIST_ENTRY ListLink;
LIST_ENTRY EdgeList;
LONG EdgeCount;
HANDLE CompHandle;
PKTMON_COMPONENT_TYPE CompType;
PKTMON_PACKET_TYPE PacketType;
INT FlowEnabled : 1;
INT DropEnabled : 1;
} PKTMON_COMPONENT_CONTEXT;
View the official Windows Driver Kit DDI referenceNo description available.
The PKTMON_COMPONENT_CONTEXT structure holds the context for the component.
ListLinkA LIST_ENTRY structure that links this component to the list of components belonging to this client.
EdgeListThe list of edges for this component. An edge represents a pair of entry/exit points for a component. Use EdgeList to track all the edge contexts that belong to a component and to access these edge contexts.
EdgeCountThe number of entries in EdgeList.
CompHandleThe handle for the component.
CompTypeThe type of the component.
PacketTypeThe type of packet being handled by the component.
FlowEnabledIndicates if flow logging is enabled.
DropEnabledIndicates if dropped packet logging is enabled.
This structure should be zero-initialized before PktMonClntComponentRegister is called and PktMonClntComponentRegister will fill in the structure as needed.