Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BOOL CALLBACK MonitorEnumProc(HMONITOR hmon, HDC hdc,
- LPRECT prc, LPARAM lParam)
- {
- // compute the color depth of monitor "hmon"
- int colorDepth = GetDeviceCaps(hdc, BITSPIXEL) *
- GetDeviceCaps(hdc, PLANES);
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement