NDK_FN_SRQ_RECEIVE callback function (ndkpi.h)
The NdkSrqReceive (NDK_FN_SRQ_RECEIVE) function posts a receive request on an NDK shared receive queue (SRQ).
Syntax
NDK_FN_SRQ_RECEIVE NdkFnSrqReceive;
NTSTATUS NdkFnSrqReceive(
[in] NDK_SRQ *pNdkSrq,
[in, optional] PVOID RequestContext,
const NDK_SGE *pSgl,
[in] ULONG nSge
)
{...}
Parameters
[in] pNdkSrq
A pointer to an NDK shared receive queue (SRQ) object (NDK_SRQ).
[in, optional] RequestContext
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.
[in] nSge
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 |
---|---|
|
The receive request was posted successfully. A completion entry will be queued to the completion queue (CQ) when the request is completed. |
|
An error occurred. |
Remarks
NdkSrqReceive posts a receive request to a shared receive queue (SRQ).
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported,Supported in NDIS 6.30 and later. |
Minimum supported server | Windows ServerĀ 2012 |
Target Platform | Windows |
Header | ndkpi.h (include Ndkpi.h) |
IRQL | <=DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for