Lines Matching refs:current_mode
59 DEVMODE current_mode;
60 if (GetPrimaryDisplayMode(ENUM_CURRENT_SETTINGS, 0, ¤t_mode) &&
61 IsModeValid(current_mode))
62 return GetModeSize(current_mode);
74 DEVMODE current_mode;
75 if (!GetPrimaryDisplayMode(ENUM_CURRENT_SETTINGS, 0, ¤t_mode) ||
76 !IsModeValid(current_mode))
91 if (candidate_mode.dmBitsPerPel != current_mode.dmBitsPerPel)
103 current_mode.dmDisplayOrientation) &&
105 current_mode.dmDisplayOrientation)) {
110 current_mode.dmDisplayFrequency) &&