NDK_FN_SRQ_RECEIVE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndkpi.h

NDK_FN_SRQ_RECEIVE NdkFnSrqReceive;

NTSTATUS NdkFnSrqReceive(
  [in]           NDK_SRQ *pNdkSrq,
  [in, optional] PVOID RequestContext,
                 const NDK_SGE *pSgl,
  [in]           ULONG nSge
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ndkpi-ndk_fn_srq_receive)

NDK_FN_SRQ_RECEIVE callback function

Description

The NdkSrqReceive (NDK_FN_SRQ_RECEIVE) function posts a receive request on an NDK shared receive queue (SRQ).

Parameters

pNdkSrq [in]

A pointer to an NDK shared receive queue (SRQ) object (NDK_SRQ).

RequestContext [in, optional]

A context value to be returned in the RequestContext member of the NDK_RESULT structure for this request.

pSgl

An array of SGE structures (NDK_SGE) that represent the buffers to receive incoming data.

nSge [in]

The number of SGE structures in the array that is specified in the pSgl parameter.

Return value

The NdkSrqReceive function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS The receive request was posted successfully. A completion entry will be queued to the completion queue (CQ) when the request is completed.
Other status codes An error occurred.

Remarks

NdkSrqReceive posts a receive request to a shared receive queue (SRQ).

See also

NDK_RESULT

NDK_SGE

NDK_SRQ