NDK_FN_CONNECT_EVENT_CALLBACK callback function

The NdkConnectEventCallback (NDK_FN_CONNECT_EVENT_CALLBACK) function is called by an NDK provider to notify a consumer about an incoming connection request.

Syntax


NDK_FN_CONNECT_EVENT_CALLBACK NdkConnectEventCallback;

VOID NdkConnectEventCallback(
  _In_opt_ PVOID         ConnectEventContext,
  _In_     NDK_CONNECTOR *pNdkConnector
)
{ ... }

Parameters

ConnectEventContext [in, optional]

A context area that was specified in the ConnectEventContext parameter of the NdkCreateListener (NDK_FN_CREATE_LISTENER) function when the listener object was created.

pNdkConnector [in]

A pointer to an NDK connector object (NDK_CONNECTOR) that represents a new incoming connection request.

Return value

None

Remarks

Note  This function is implemented by the NDK consumer and passed to the NDK provider.
 

The NDK consumer specified the NdkConnectEventCallback function in the ConnectEventContext parameter of the NdkCreateListener (NDK_FN_CREATE_LISTENER) function when the listener object was created.

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)

IRQL

<=DISPATCH_LEVEL

See also

NDK_CONNECTOR
NDK_FN_CREATE_LISTENER

 

 

Send comments about this topic to Microsoft

Show: