// ndkpi.h
NDK_FN_CONNECT_EVENT_CALLBACK NdkFnConnectEventCallback;
VOID NdkFnConnectEventCallback(
[in, optional] PVOID ConnectEventContext,
[in] NDK_CONNECTOR *pNdkConnector
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The NdkConnectEventCallback (NDK_FN_CONNECT_EVENT_CALLBACK) function is called by an NDK provider to notify a consumer about an incoming connection request.
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.
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.