NDK_FN_ARM_CQ callback function (ndkpi.h)
The NdkArmCq (NDK_FN_ARM_CQ) function arms an NDK completion queue (CQ) notification.
Syntax
NDK_FN_ARM_CQ NdkFnArmCq;
void NdkFnArmCq(
[in] NDK_CQ *pNdkCq,
[in] ULONG Type
)
{...}
Parameters
[in] pNdkCq
A pointer to an NDK completion queue object (NDK_CQ).
[in] Type
The type of notification to arm. The following notification types are defined:
Return value
None
Remarks
After the NDK consumer arms a completion queue (CQ) notification, the provider calls the NdkCqNotificationCallback callback function (the NDK_FN_CQ_NOTIFICATION_CALLBACK routine that the consumer specified when the CQ was created with the NdkCreateCq (NDK_FN_CREATE_CQ) function) when the specified type of notification is due.
If the CQ is closed while a call to NdkCqNotificationCallback is in-progress, the close request will remain pending until NdkCqNotificationCallback returns control to the provider. After the close request is completed, the provider will not call NdkCqNotificationCallback.
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
NDKPI Completion Handling Requirements