Compartir a través de


NDIS_ENUM_FILTERS (Compact 2013)

3/26/2014

This 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.
  • 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.

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 versions of NDIS filter module that is in the driver stack.

Requirements

Header

ndis.h

See Also

Reference

NDIS Filter Driver Structures
NDIS_FILTER_INTERFACE
NDIS_OBJECT_HEADER
NdisEnumerateFilterModules