NDK_ADAPTER structure (ndkpi.h)

The NDK_ADAPTER structure specifies the attributes of an NDK adapter object.

Syntax

typedef struct _NDK_ADAPTER {
  NDK_OBJECT_HEADER          Header;
  const NDK_ADAPTER_DISPATCH *Dispatch;
} NDK_ADAPTER;

Members

Header

The NDK_OBJECT_HEADER structure for the NDK_ADAPTER structure. Set the ObjectType member of the structure that Header specifies to NdkObjectTypeAdapter.

Dispatch

A pointer to an NDK_ADAPTER_DISPATCH structure that defines dispatch functions for the NDK adapter object.

Remarks

The NDK_ADAPTER structure defines an adapter object. The OPEN_NDK_ADAPTER_HANDLER function opens an NDK adapter instance on an NDK-capable NDIS miniport adapter.

An NDK provider must set the Dispatch member to point to its NDK_ADAPTER_DISPATCH table before returning the created adapter object. Also, the NDK provider must not use the Dispatch member after setting it because the NDK consumer can change the Dispatch member to some other value.

Requirements

Requirement Value
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Header ndkpi.h (include Ndkpi.h)

See also

CLOSE_NDK_ADAPTER_HANDLER

NDKPI Object Lifetime Requirements

NDK_ADAPTER_DISPATCH

NDK_OBJECT_HEADER

OPEN_NDK_ADAPTER_HANDLER