Archive for the ‘Windows Driver Model’ Category

The Strange DeviceIoControl result with IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS

On the Windows XP x64 running on the MacBook, the DeviceIoControl with IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS returns strange result.

HANDLE display = CreateFile(L"\\\\.\\LCD", FILE_ANY_ACCESS,
[...]

Continue reading »