SaveCurrentMonitorSettings function dxva2
Saves the current monitor settings to the display's nonvolatile storage.
To learn more, see learn.microsoft.com/windows/win32/api/highlevelmonitorconfigurationapi/nf-highlevelmonitorconfigurationapi-savecurrentmonitorsettings.
Implementation
Win32Result<int> SaveCurrentMonitorSettings(HANDLE hMonitor) {
resolveGetLastError();
final result_ = _SaveCurrentMonitorSettings(hMonitor);
return .new(value: result_, error: GetLastError());
}