Hardware Dev Center

NDK_ADAPTER structure

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, *PNDK_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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

See also

NDK_ADAPTER_DISPATCH
NDK_OBJECT_HEADER
CLOSE_NDK_ADAPTER_HANDLER
OPEN_NDK_ADAPTER_HANDLER
NDKPI Object Lifetime Requirements

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft