Post · 1 min read· p. 740

SYSTEM_BOOT_GRAPHICS_INFORMATION

The SYSTEM_BOOT_GRAPHICS_INFORMATION structure is what a successful call to ZwQuerySystemInformation or NtQuerySystemInformation produces in its output buffer when given the information class SystemBootGraphicsInformation (0x7E).

Documentation Status

The SYSTEM_BOOT_GRAPHICS_INFORMATION structure is not documented.

Layout

The SYSTEM_BOOT_GRAPHICS_INFORMATION is 0x20 bytes in both 32-bit and 64-bit Windows.

OffsetDefinition
0x00LARGE_INTEGER FrameBuffer;
0x08ULONG Width;
0x0CULONG Height;
0x10ULONG PixelStride;
0x14ULONG Flags;
0x18SYSTEM_PIXEL_FORMAT Format;

The only bit that is defined for the Flags is 0x00000001. It is set while boot graphics are enabled.

While the SYSTEM_PIXEL_FORMAT enumeration seems to be used nowhere else, it may as well be described here:

  • 0 for SystemPixelFormatUnknown;
  • 1 for SystemPixelFormatR8G8B8;
  • 2 for SystemPixelFormatR8B8G8X8;
  • 3 for SystemPixelFormatB8G8R8;
  • 4 for SystemPixelFormatB8G8R8X8.