I can't seem to initialize the mirror driver with any other bit depth (bits per pixel) than 32. The driver initialization fails in GetDCMirror, specifically:
Code: Select all
m_hrootdc = CreateDC("DISPLAY",deviceName,NULL,NULL);
Is this a limitation of the mirror driver? I need to use this on a machine that only supports 16 or 24 bits per pixel. Is there any way to do this? I appreciate any help you can provide!