NDK_CONNECTOR structure

The NDK_CONNECTOR structure specifies the attributes of an NDK connector object.

Syntax

typedef struct _NDK_CONNECTOR {
  NDK_OBJECT_HEADER            Header;
  const NDK_CONNECTOR_DISPATCH *Dispatch;
} NDK_CONNECTOR;

Members

Header

The NDK_OBJECT_HEADER structure for the NDK_CONNECTOR structure. Set the ObjectType member of the structure that Header specifies to NdkObjectTypeConnector.

Dispatch

A pointer to an NDK_CONNECTOR_DISPATCH structure that defines dispatch functions for the NDK connector object.

Remarks

An NDK provider must set the Dispatch member pointer to its NDK_CONNECTOR_DISPATCH table before returning the created connector object. The provider must not use the Dispatch member after setting it because the NDK consumer can set the Dispatch member to some other value.

Requirements

   
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

NDKPI Listeners, Connectors, and Endpoints

NDKPI Object Lifetime Requirements

NDK_CONNECTOR_DISPATCH

NDK_FN_CLOSE_OBJECT

NDK_FN_CREATE_COMPLETION

NDK_FN_CREATE_CONNECTOR

NDK_OBJECT_HEADER