IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS control code
This IOCTL is not handled by video miniport drivers. It is handled entirely by the system-supplied video port driver.
Note This IOCTL is obsolete in Windows Vista. Instead, use the Windows Management Instrumentation (WMI) monitor brightness class. For information about WMI, see the documentation in the Microsoft Windows SDK.