// ndkpi.h
typedef struct _NDK_RESULT {
NTSTATUS Status;
ULONG BytesTransferred;
PVOID QPContext;
PVOID RequestContext;
} NDK_RESULT;
View the official Windows Driver Kit DDI reference
No description available.
The NDK_RESULT structure returns the results for an NDK request operation.
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.
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.