NDIS_ENUM_FILTERS structure (ndis.h)

The NDIS_ENUM_FILTERS structure is returned from the call to the NdisEnumerateFilterModules function to provide filter information for a filter stack.

Syntax

typedef struct _NDIS_ENUM_FILTERS {
  NDIS_OBJECT_HEADER    Header;
  ULONG                 Flags;
  ULONG                 NumberOfFilters;
  ULONG                 OffsetFirstFilter;
  NDIS_FILTER_INTERFACE Filter[1];
} NDIS_ENUM_FILTERS, *PNDIS_ENUM_FILTERS;

Members

Header

The NDIS_OBJECT_HEADER structure for the filter enumeration structure. The driver sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_ENUM_FILTERS_REVISION_1, and the Size member to NDIS_SIZEOF_ENUM_FILTERS_REVISION_1.

Flags

Reserved for future use.

NumberOfFilters

The number of filter information structures that are included in the array in the Filter member.

OffsetFirstFilter

The offset, in bytes, to the first member of array at the Filter member from the beginning of the NDIS_ENUM_FILTERS structure.

Filter[1]

An array that contains zero or more NDIS_FILTER_INTERFACE structures that the call returns.

Remarks

The NdisEnumerateFilterModules function returns an NDIS_ENUM_FILTERS structure and the Filter member of that structure contains an array of NDIS_FILTER_INTERFACE structures. The array contains one NDIS_FILTER_INTERFACE structure for each NDIS 5.1 or earlier filter intermediate driver or NDIS 6.0 or later NDIS filter module that is in the driver stack.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ndis.h (include Ndis.h)

See also

NDIS_FILTER_INTERFACE

NDIS_OBJECT_HEADER

NdisEnumerateFilterModules