IOCTL_VIDEO_SET_PALETTE_REGISTERS IOCTL (ntddvdeo.h)

Loads a specified portion of the adapter palette registers with an array of colors. Miniport drivers for VGA-compatible adapters are required to support this request, which is modal. Support is optional for other miniport drivers.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

The VRP InputBuffer contains the VIDEO_PALETTE_DATA structure, specifying an array of colors to be set in the palette registers.

Output buffer

None

Status block

The miniport driver does not set the Information member of the STATUS_BLOCK structure.

Requirements

Requirement Value
Header ntddvdeo.h