Table of contents
GDI
TOC
Collapse the table of content
Expand the table of content

Resetting the Adapter in Video Miniport Drivers

Last Updated: 2/14/2017

Every miniport driver must have a HwVidResetHw function if its adapter cannot be reset to an initialized state without a hard reboot of the machine.

HwVidResetHw is called by the HAL if the machine is about to crash or if the user initiates a soft reboot of the machine. HwVidResetHw resets the adapter to a specified character mode, so the HAL can display crash-dump information as it shuts down the system or initialization information during a soft reboot.

HwVidResetHw cannot call the BIOS, cannot call any pageable code, nor may it be made pageable. If possible, it should call only the VideoPortReadXxx and VideoPortWriteXxx functions, but it also can call any of the following:

VideoPortStallExecution

VideoPortZeroDeviceMemory

VideoPortZeroMemory

Send comments about this topic to Microsoft

© 2017 Microsoft