SetMonitorContrast function dxva2
Sets a monitor's contrast value.
To learn more, see learn.microsoft.com/windows/win32/api/highlevelmonitorconfigurationapi/nf-highlevelmonitorconfigurationapi-setmonitorcontrast.
Implementation
Win32Result<int> SetMonitorContrast(HANDLE hMonitor, int dwNewContrast) {
resolveGetLastError();
final result_ = _SetMonitorContrast(hMonitor, dwNewContrast);
return .new(value: result_, error: GetLastError());
}