Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NdkDisconnectEventCallback (NDK_FN_DISCONNECT_EVENT_CALLBACK) function is called by the NDK provider once when the peer disconnects.
Syntax
NDK_FN_DISCONNECT_EVENT_CALLBACK NdkFnDisconnectEventCallback;
VOID NdkFnDisconnectEventCallback(
[in, optional] PVOID DisconnectEventContext
)
{...}
Parameters
[in, optional] DisconnectEventContext
A context area that was specified in the DisconnectEvent parameter of the NdkCompleteConnect (NDK_FN_COMPLETE_CONNECT) or NdkAccept (NDK_FN_ACCEPT) function when the completion queue (CQ) object was created.
Return value
None
Remarks
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 |