Bewerken

Delen via


NDIS_IF_PROVIDER_CHARACTERISTICS structure (ndis.h)

The NDIS_IF_PROVIDER_CHARACTERISTICS structure defines NDIS network interface provider entry points and other provider characteristics.

Syntax

typedef struct _NDIS_IF_PROVIDER_CHARACTERISTICS {
  NDIS_OBJECT_HEADER Header;
  IFP_QUERY_OBJECT   QueryObjectHandler;
  IFP_SET_OBJECT     SetObjectHandler;
  PVOID              Reserved1;
  PVOID              Reserved2;
} NDIS_IF_PROVIDER_CHARACTERISTICS, *PNDIS_IF_PROVIDER_CHARACTERISTICS;

Members

Header

The NDIS_OBJECT_HEADER structure for the interface provider characteristics structure (NDIS_IF_PROVIDER_CHARACTERISTICS). The driver sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_OBJECT_REVISION_1, and the Size member to NDIS_SIZEOF_IF_PROVIDER_CHARACTERISTICS_REVISION_1.

QueryObjectHandler

The entry point for the ProviderQueryObject function.

SetObjectHandler

The entry point for the ProviderSetObject function.

Reserved1

Reserved for NDIS.

Reserved2

Reserved for NDIS.

Remarks

All NDIS network driver types can register as network interface providers. An NDIS interface provider initializes an NDIS_IF_PROVIDER_CHARACTERISTICS structure to define its provider entry points and other characteristics, if any.

To register as an interface provider, the driver passes a pointer to the initialized NDIS_IF_PROVIDER_CHARACTERISTICS structure to the NdisIfRegisterProvider function.

Requirements

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

See also

NDIS_OBJECT_HEADER

NdisIfRegisterProvider

ProviderQueryObject

ProviderSetObject