Lines Matching refs:DevModeW

2887         DEVMODEW DevModeW;
2892 ZeroMemory(&DevModeW, sizeof(DevModeW));
2893 DevModeW.dmSize = sizeof(DevModeW);
2898 while ((i<=Mode) && EnumDisplaySettingsExW(NULL, j++, &DevModeW, 0))
2903 if (DevModeW.dmBitsPerPel == 32 || DevModeW.dmBitsPerPel == 16) ++i;
2905 else if (DevModeW.dmBitsPerPel == format_bits)
2918 if (EnumDisplaySettingsExW(NULL, ModeIdx, &DevModeW, 0)) {
2919 pMode->Width = DevModeW.dmPelsWidth;
2920 pMode->Height = DevModeW.dmPelsHeight;
2922 if (DevModeW.dmFields & DM_DISPLAYFREQUENCY)
2923 pMode->RefreshRate = DevModeW.dmDisplayFrequency;
2926 pMode->Format = pixelformat_for_depth(DevModeW.dmBitsPerPel);
2937 DevModeW.dmBitsPerPel);
2959 DEVMODEW DevModeW;
2961 ZeroMemory(&DevModeW, sizeof(DevModeW));
2962 DevModeW.dmSize = sizeof(DevModeW);
2964 EnumDisplaySettingsExW(NULL, ENUM_CURRENT_SETTINGS, &DevModeW, 0);
2965 pMode->Width = DevModeW.dmPelsWidth;
2966 pMode->Height = DevModeW.dmPelsHeight;
2967 bpp = DevModeW.dmBitsPerPel;
2969 if (DevModeW.dmFields&DM_DISPLAYFREQUENCY)
2971 pMode->RefreshRate = DevModeW.dmDisplayFrequency;
3007 DEVMODEW DevModeW;
3009 ZeroMemory(&DevModeW, sizeof(DevModeW));
3010 DevModeW.dmSize = sizeof(DevModeW);
3012 EnumDisplaySettingsExW(NULL, ENUM_CURRENT_SETTINGS, &DevModeW, 0);
3016 pMode->Width = DevModeW.dmPelsWidth;
3017 pMode->Height = DevModeW.dmPelsHeight;
3018 bpp = DevModeW.dmBitsPerPel;
3020 if (DevModeW.dmFields&DM_DISPLAYFREQUENCY)
3022 pMode->RefreshRate = DevModeW.dmDisplayFrequency;
3028 if (DevModeW.dmFields&DM_DISPLAYFLAGS)
3031 if (DevModeW.dmDisplayFlags&DM_INTERLACED)
3033 if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED)
3044 if (DevModeW.dmFields&DM_DISPLAYORIENTATION)
3047 switch (DevModeW.dmDisplayOrientation)
3049 switch (DevModeW.u.s2.dmDisplayOrientation)
3066 WARN("Unexpected display orientation %#x", DevModeW.dmDisplayOrientation);
3068 WARN("Unexpected display orientation %#x", DevModeW.u.s2.dmDisplayOrientation);