NDK_FN_CQ_NOTIFICATION_CALLBACK callback function (ndkpi.h)
The NdkCqNotificationCallback (NDK_FN_CQ_NOTIFICATION_CALLBACK) function is called by the NDK provider to notify the consumer about a completion queue (CQ) event.
Syntax
NDK_FN_CQ_NOTIFICATION_CALLBACK NdkFnCqNotificationCallback;
void NdkFnCqNotificationCallback(
[in, optional] PVOID CqNotificationContext,
[in] NTSTATUS CqStatus
)
{...}
Parameters
[in, optional] CqNotificationContext
A context area that was specified in the CqNotificationContext parameter of the NdkCreateCq (NDK_FN_CREATE_CQ) function when the completion queue (CQ) object was created.
[in] CqStatus
Indicates the CQ error status. The following status codes are defined:
Return value
None
Remarks
An NDK provider calls NdkCqNotificationCallback to notify the consumer about a completion queue (CQ) event.
The NDK consumer specified the NdkCqNotificationCallback function in the CqNotificationContext parameter of the NdkCreateCq (NDK_FN_CREATE_CQ) function when the completion queue (CQ) object was created.
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 |