NDK_FN_CONNECT_EVENT_CALLBACK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ndkpi-ndk_fn_connect_event_callback)

NDK_FN_CONNECT_EVENT_CALLBACK callback function

Description

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

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.

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.

See also

NDK_CONNECTOR

NDK_FN_CREATE_LISTENER