// d3dkmddi.h
DXGKDDI_DISCONNECTDOORBELL DxgkddiDisconnectdoorbell;
NTSTATUS DxgkddiDisconnectdoorbell(
INOUT_PDXGKARG_DISCONNECTDOORBELL pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiDisconnectDoorbell function disconnects a previously connected doorbell from a hardware queue.
pArgs[in/out] Pointer to a DXGKARG_DISCONNECTDOORBELL structure that describes the doorbell to disconnect.
DxgkDdiDisconnectDoorbell must succeed and return STATUS_SUCCESS.
The OS calls DxgkDdiDisconnectDoorbell to unmap the physical doorbell location assigned to this doorbell. KMD should disconnect the hardware queue, doorbell physical address and engine, etc. The physical doorbell location can be assigned to some other logical doorbell object.
KMD should not destroy or free any other objects associated with hDoorbell because the doorbell object is not being destroyed and can be reconnected at a later point.
On return from this DDI call, Dxgkrnl does the following steps to disconnect the doorbell:
For more information, see User-mode work submission.