NDK_CQ - NtDoc

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

typedef struct _NDK_CQ {
  NDK_OBJECT_HEADER     Header;
  const NDK_CQ_DISPATCH *Dispatch;
} NDK_CQ;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ndkpi-_ndk_cq)

_NDK_CQ structure

Description

The NDK_CQ structure specifies the attributes of an NDK completion queue (CQ) object.

Members

The NDK_OBJECT_HEADER structure for the NDK_CQ structure. Set the ObjectType member of the structure that Header specifies to NdkObjectTypeCq.

Dispatch

A pointer to an NDK_CQ_DISPATCH structure that defines dispatch functions for the NDK CQ object.

Remarks

An NDK provider must set the Dispatch member to point to its NDK_CQ_DISPATCH table before returning the created CQ object. Also, the NDK provider must not use the Dispatch member after setting it because the NDK consumer can change the Dispatch member to some other value.

See also

NDKPI Completion Handling Requirements

NDKPI Object Lifetime Requirements

NDK_CQ_DISPATCH

NDK_FN_CLOSE_OBJECT

NDK_FN_CREATE_COMPLETION

NDK_FN_CREATE_CQ

NDK_OBJECT_HEADER