NDK_FN_GET_CQ_RESULTS - NtDoc

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

NDK_FN_GET_CQ_RESULTS NdkFnGetCqResults;

ULONG NdkFnGetCqResults(
  [in] NDK_CQ *pNdkCq,
       NDK_RESULT Results[],
  [in] ULONG nResults
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NDK_FN_GET_CQ_RESULTS callback function

Description

The NdkGetCqResults (NDK_FN_GET_CQ_RESULTS) function removes completions from an NDK completion queue (CQ) object.

Parameters

pNdkCq [in]

A pointer to an NDK completion queue (CQ) object (NDK_CQ).

Results

[] An array of NDK_RESULT structures that will be filled with completion results that were removed from the CQ.

nResults [in]

The size, in elements, of the Results array. That is, the maximum number of completions to remove from the CQ.

Return value

The NDK_FN_GET_CQ_RESULTS function returns the number of completions that were removed from the CQ.

Zero means there were no completions in the CQ.

Remarks

NdkGetCqResults removes completions from a completion queue (CQ).

See also

NDKPI Completion Handling Requirements

NDK_CQ

NDK_CQ_DISPATCH

NDK_RESULT