ENUMERATION_BUFFER structure (traffic.h)
The ENUMERATION_BUFFER structure contains information specific to a given flow, including flow name, the number of filters associated with the flow, and an array of filters associated with the flow.
Syntax
typedef struct _ENUMERATION_BUFFER {
ULONG Length;
ULONG OwnerProcessId;
USHORT FlowNameLength;
WCHAR FlowName[MAX_STRING_LENGTH];
PTC_GEN_FLOW pFlow;
ULONG NumberOfFilters;
TC_GEN_FILTER GenericFilter[1];
} ENUMERATION_BUFFER, *PENUMERATION_BUFFER;
Members
Length
Number of bytes from the beginning of the ENUMERATION_BUFFER to the next ENUMERATION_BUFFER.
OwnerProcessId
Identifies the owner of the process.
FlowNameLength
Specifies the length of the FlowName member.
FlowName[MAX_STRING_LENGTH]
Array of WCHAR characters, of length MAX_STRING_LENGTH, that specifies the flow name.
pFlow
Pointer to the corresponding TC_GEN_FLOW structure. This structure is placed immediately after the array of TC_GEN_FILTERS and is included in Length.
NumberOfFilters
Specifies the number of filters associated with the flow.
GenericFilter[1]
Array of TC_GEN_FILTER structures. The number of elements in the array corresponds to the number of filters attached to the specified flow. Note that in order to enumerate through the array of TC_GEN_FILTER structures, you need to increment the pointer to the current TC_GEN_FILTER by using the following:
sizeof(TC_GEN_FILTER) + 2 * [the pattern size of the current TC_GEN_FILTER structure].
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | traffic.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for