Lines Matching defs:deviceInfo
54 DEVMODE deviceInfo;
55 deviceInfo.dmSize = sizeof(DEVMODE);
56 deviceInfo.dmDriverExtra = 0;
58 if (!EnumDisplaySettings(0, ENUM_CURRENT_SETTINGS, &deviceInfo))
59 deviceInfo.dmBitsPerPel = 16;
62 EnumDisplaySettings(monitorInfo.szDevice, ENUM_CURRENT_SETTINGS, &deviceInfo);
65 return deviceInfo;
70 DEVMODE deviceInfo = deviceInfoForWidget(widget);
71 if (deviceInfo.dmBitsPerPel == 32) {
76 return deviceInfo.dmBitsPerPel;
91 DEVMODE deviceInfo = deviceInfoForWidget(widget);
92 return deviceInfo.dmColor == DMCOLOR_MONOCHROME;