Hardware Dev Center

NDK_FN_GET_CQ_RESULTS routine

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

Syntax


NDK_FN_GET_CQ_RESULTS NdkGetCqResults;

ULONG NdkGetCqResults(
  _In_ NDK_CQ                                       *pNdkCq,
       _Out_writes_to_(nResults, return) NDK_RESULT Results[],
  _In_ ULONG                                        nResults
)
{ ... }

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).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Target platform

Desktop

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

IRQL

<=DISPATCH_LEVEL

See also

NDK_CQ
NDK_CQ_DISPATCH
NDK_RESULT
NDKPI Completion Handling Requirements

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft