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 NdkFnConnectEventCallback;

void NdkFnConnectEventCallback(
  PVOID ConnectEventContext,
  NDK_CONNECTOR *pNdkConnector
)
{...}

Parameters

ConnectEventContext

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

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,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Target Platform Windows
Header ndkpi.h (include Ndkpi.h)
IRQL <=DISPATCH_LEVEL

See Also

NDK_CONNECTOR

NDK_FN_CREATE_LISTENER