// dispmprt.h
DXGKDDI_RESET_DEVICE DxgkddiResetDevice;
VOID DxgkddiResetDevice(
[in] IN_CONST_PVOID MiniportDeviceContext
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiResetDevice function sets a display adapter to VGA character mode (80 x 50).
MiniportDeviceContext [in]A handle to a context block associated with a display adapter. The display miniport driver's DxgkDdiAddDevice function previously provided this handle to the DirectX graphics kernel subsystem.
The HAL calls this function so it can display information on the screen during hibernation, bug checks, and the like.
DxgkDdiResetDevice can be called at any IRQL, so it must be in nonpageable memory. DxgkDdiResetDevice must not call any code that is in pageable memory and must not manipulate any data that is in pageable memory.