1 2 3 4 5 | DEVMODE dm = { 0 }; dm.dmSize = sizeof(DEVMODE); if(EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &dm)) printf("%d\n", dm.dmDisplayFrequency); |
Hardware that is not compatible with Windows Display Driver Model (WDDM) returns inaccurate property values for instances of this class.