NDK_RESULT structure

The NDK_RESULT structure returns the results for an NDK request operation.

Syntax


typedef struct _NDK_RESULT {
  NTSTATUS Status;
  ULONG    BytesTransferred;
  PVOID    QPContext;
  PVOID    RequestContext;
} NDK_RESULT;

Members

Status

The NDK request completion status.

BytesTransferred

The number of bytes transferred. The value of this member is valid only for NdkReceive (NDK_FN_RECEIVE) request completions. The member is undefined for all other NDK request completions.

QPContext

A context value for all requests that are posted over a queue pair (QP). The NDK consumer specified this pointer when it called the NdkCreateQp (NDK_FN_CREATE_QP) function to create the NDK_QP object.

RequestContext

A request context value specified by the NDK consumer when a request is posted.

Remarks

The NdkGetCqResults (NDK_FN_GET_CQ_RESULTS) function gets an array of NDK_RESULT structures that are filled with completion results that were removed from the CQ.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

See also

NDK_FN_CREATE_QP
NDK_FN_GET_CQ_RESULTS
NDK_FN_RECEIVE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft