NDK_FN_CONNECT_EVENT_CALLBACK callback function (ndkpi.h)
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(
[in, optional] PVOID ConnectEventContext,
[in] NDK_CONNECTOR *pNdkConnector
)
{...}
Parameters
[in, optional] 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.
[in] pNdkConnector
A pointer to an NDK connector object (NDK_CONNECTOR) that represents a new incoming connection request.
Return value
None
Remarks
Note This function is implemented by the NDK consumer and passed to the NDK provider.
Requirements
Requirement | Value |
---|---|
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 |