Поделиться через


NDIS_CONFIGURATION_OBJECT (Compact 2013)

3/26/2014

This structure defines the attributes of a configuration object that an NDIS driver can pass to the NdisOpenConfigurationEx function.

Syntax

typedef struct _NDIS_CONFIGURATION_OBJECT {
  NDIS_OBJECT_HEADER  Header;
  NDIS_HANDLE  NdisHandle;
  ULONG  Flags;
} NDIS_CONFIGURATION_OBJECT, *PNDIS_CONFIGURATION_OBJECT;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_CONFIGURATION_OBJECT structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_CONFIGURATION_OBJECT, the Revision member to NDIS_CONFIGURATION_OBJECT_REVISION_1, and the Size member to NDIS_SIZEOF_CONFIGURATION_OBJECT_REVISION_1.
  • NdisHandle
    An NDIS handle that the caller obtained during initialization.
  • Flags
    A bitwise OR of the following flags:

    • NDIS_CONFIG_FLAG_FILTER_INSTANCE_CONFIGURATION
      Set this flag if a monitoring filter driver must access the filter module configuration for a specific filter module when there are multiple filter modules configured over the same miniport adapter. Modifying filter drivers must not use this flag.

Remarks

To configuration parameters in the registry, an NDIS driver can use the NDIS_CONFIGURATION_OBJECT structure to define a configuration object and then call the NdisOpenConfigurationEx function to obtain a configuration handle.

Requirements

Header

ndis.h

See Also

Reference

NDIS Configuration Interface
NDIS_OBJECT_HEADER
NdisOpenConfigurationEx