NDK_FN_CONTROL_CONNECT_EVENTS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndkpi.h

NDK_FN_CONTROL_CONNECT_EVENTS NdkFnControlConnectEvents;

VOID NdkFnControlConnectEvents(
  [in] NDK_LISTENER *pNdkListener,
  [in] BOOLEAN Pause
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NDK_FN_CONTROL_CONNECT_EVENTS callback function

Description

The NdkControlConnectEvents (NDK_FN_CONTROL_CONNECT_EVENTS) function pauses and restarts NDK connect event callback functions.

Parameters

pNdkListener [in]

A pointer to an NDK listener object (NDK_LISTENER).

Pause [in]

A BOOLEAN value that specifies if a connection is paused or restarted. If Pause is TRUE the connection is paused. If Pause is FALSE the connection is restarted.

Remarks

This function is closely related to the NdkConnectEventCallback (NDK_FN_CONNECT_EVENT_CALLBACK) function. The NDK_FN_CONNECT_EVENT_CALLBACK function is called by an NDK provider to notify a consumer about an incoming connection request. To pause the reception of connect event callbacks, an NDK consumer can pass TRUE in the Pause parameter. When a connection is paused, the incoming connection requests must be treated as if there is no NDK listener (NDK_LISTENER) on the targeted address.

To restart the reception of connect event callbacks, the consumer passes FALSE in the Pause parameter.

See also

NDK_FN_CONNECT_EVENT_CALLBACK

NDK_LISTENER