// ndkpi.h
NDK_FN_GET_CQ_RESULTS_EX NdkFnGetCqResultsEx;
ULONG NdkFnGetCqResultsEx(
[in] NDK_CQ *pNdkCq,
NDK_RESULT_EX Results[],
[in] ULONG nResults
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The NdkGetCqResultsEx (NDK_FN_GET_CQ_RESULTS_EX) function removes completions from an NDK completion queue (CQ) object. This function is identical to the NdkGetCqResults (NDK_FN_GET_CQ_RESULTS) function, except that it retrieves an array of NDK_RESULT_EX structures instead of an array of NDK_RESULT structures.
pNdkCq
[in]A pointer to an NDK completion queue (CQ) object (NDK_CQ).
Results
[] An array of NDK_RESULT_EX 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.
The NDK_FN_GET_CQ_RESULTS_EX function returns the number of completions that were removed from the CQ.
Zero means there were no completions in the CQ.
NDKPI Completion Handling Requirements