PFLT_DISCONNECT_NOTIFY - NtDoc

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

PFLT_DISCONNECT_NOTIFY PfltDisconnectNotify;

VOID PfltDisconnectNotify(
  PVOID ConnectionCookie
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-fltkernel-pflt_disconnect_notify)

Description

FltMgr calls a minifilter's DisconnectNotifyCallback callback function to notify the minifilter when a client port is being disconnected.

Parameters

ConnectionCookie

[in] Pointer to minifilter-defined information that uniquely identifies this client port. When the client port was created, the minifilter returned this context pointer in the ConnectionPortCookie parameter of its ConnectNotifyCallback routine.

Remarks

FltMgr calls DisconnectNotifyCallback whenever the user-mode handle count for the client port reaches zero or when the minifilter is about to be unloaded.

For more information, see Communication between user-mode and minifilters.

See also

ConnectNotifyCallback

FltCreateCommunicationPort