// 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
No description available.
The NdkControlConnectEvents (NDK_FN_CONTROL_CONNECT_EVENTS) function pauses and restarts NDK connect event callback functions.
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.
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.