SHARE
TWEET

Untitled

a guest May 21st, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. BOOL CALLBACK MonitorEnumProc(HMONITOR hmon, HDC hdc,
  2.                               LPRECT prc, LPARAM lParam)
  3. {
  4.    // compute the color depth of monitor "hmon"
  5.    int colorDepth = GetDeviceCaps(hdc, BITSPIXEL) *
  6.                     GetDeviceCaps(hdc, PLANES);
  7.    return TRUE;
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top