DXGKARG_CREATEDOORBELL structure (d3dkmddi.h)
Important
Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DXGKARG_CREATEDOORBELL structure contains parameters for KMD's DxgkDdiCreateDoorbell callback function.
Syntax
typedef struct _DXGKARG_CREATEDOORBELL {
HANDLE hHwQueue;
HANDLE hDoorbell;
UINT PrivateDriverDataSize;
void *PrivateDriverData;
HANDLE hRingBuffer;
HANDLE hRingBufferControl;
DXGKARG_CREATEDOORBELL_FLAGS Flags;
} DXGKARG_CREATEDOORBELL;
Members
hHwQueue
[in] Handle to a KMD hardware queue object, which was created in a previous call to D3DKMTCreateHwQueue.
hDoorbell
[in/out] As input, contains the OS's handle to the doorbell. KMD can store the input handle in its tracking structures. As output, hDoorbell contains KMD's kernel-mode handle to the doorbell.
PrivateDriverDataSize
[in] Size, in bytes, of the driver's private data that is associated with the doorbell.
PrivateDriverData
[in/out] Pointer to the driver's private data that is associated with the doorbell.
hRingBuffer
[in] Handle to the ring buffer allocation previously created by UMD. This allocation is GPU visible and already resident. The ResizeRingBufferOperation flag is a hint from UMD to KMD that a doorbell is being recreated for this hardware queue with a new, resized ring buffer.
hRingBufferControl
[in] KMD handle to a ring buffer control allocation previously created by UMD. UMD and KMD can use this allocation as a control area to store ring buffer read/write pointer locations if required. The allocation must be GPU visible and already resident.
Flags
A bit field of DXGKARG_CREATEDOORBELL_FLAGS values specifying the doorbell creation flags.
Requirements
Requirement | Value |
---|---|
Minimum supported client | WIN11_FUTURE |
Header | d3dkmddi.h |
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