Bewerken

Delen via


DXGKDDI_RESET_DEVICE callback function (dispmprt.h)

The DxgkDdiResetDevice function sets a display adapter to VGA character mode (80 x 50).

Syntax

DXGKDDI_RESET_DEVICE DxgkddiResetDevice;

void DxgkddiResetDevice(
  [in] IN_CONST_PVOID MiniportDeviceContext
)
{...}

Parameters

[in] MiniportDeviceContext

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.

Return value

None

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header dispmprt.h
IRQL Any level (see Remarks section)