NDK_FN_FLUSH - NtDoc

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

NDK_FN_FLUSH NdkFnFlush;

VOID NdkFnFlush(
  [in] NDK_QP *pNdkQp
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NDK_FN_FLUSH callback function

Description

The NdkFlush (NDK_FN_FLUSH) function initiates cancelling of the receive and the initiator queue requests that are currently pending on an NDK queue pair (QP) object.

Parameters

pNdkQp [in]

A pointer to an NDK queue pair (QP) object (NDK_QP).

Remarks

NdkFlush cancels the receive and the initiator queue requests that are currently pending on a QP. The flushed requests have STATUS_CANCELLED as completion status.

If the NDK consumer wants to verify that all of the requests are flushed after issuing NdkFlush, the consumer must empty the CQ until it sees completions for all requests that were queued prior to calling NdkFlush.

See also

NDK_QP