NDK_RESULT structure (ndkpi.h)

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

Requirement Value
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Header ndkpi.h (include Ndkpi.h)

See also

NDK_FN_CREATE_QP

NDK_FN_GET_CQ_RESULTS

NDK_FN_RECEIVE