NDK_LISTENER structure

The NDK_LISTENER structure specifies the attributes of an NDK listener object.

Syntax


typedef struct _NDK_LISTENER {
  NDK_OBJECT_HEADER           Header;
  CONST NDK_LISTENER_DISPATCH *Dispatch;
} NDK_LISTENER, *PNDK_LISTENER;

Members

Header

The NDK_OBJECT_HEADER structure for the NDK_LISTENER structure. Set the ObjectType member of the structure that Header specifies to NdkObjectTypeListener.

Dispatch

A pointer to an NDK_LISTENER_DISPATCH structure that defines dispatch functions for the NDK listener object.

Remarks

An NDK provider must set the Dispatch member to point to its NDK_LISTENER_DISPATCH table before returning the created listener 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_LISTENER_DISPATCH
NDK_OBJECT_HEADER
NDK_FN_CLOSE_OBJECT
NDK_FN_CREATE_COMPLETION
NDK_FN_CREATE_LISTENER
NDKPI Listeners, Connectors, and Endpoints
NDKPI Object Lifetime Requirements

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft