IOCTL_VIDEO_SAVE_HARDWARE_STATE IOCTL (ntddvdeo.h)

Saves the state of the video adapter in the VRP OutputBuffer. Miniport drivers for VGA-compatible adapters are required to support this nonmodal request; optional for other miniport drivers.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None

Output buffer

The miniport driver returns a VIDEO_HARDWARE_STATE structure in the VRP OutputBuffer.

Status block

If the miniport driver successfully saves the adapter state, it sets the Information member of the STATUS_BLOCK structure to sizeof(VIDEO_HARDWARE_STATE); otherwise, the miniport driver sets this member to zero.

Requirements

Requirement Value
Header ntddvdeo.h

See also

STATUS_BLOCK