SetMonitorContrast function Null safety dxva2

int SetMonitorContrast(
  1. int hMonitor,
  2. int dwNewContrast
)

Sets a monitor's contrast value.

_BOOL SetMonitorContrast(
  HANDLE hMonitor,
  DWORD  dwNewContrast
);

Implementation

int SetMonitorContrast(int hMonitor, int dwNewContrast) {
  final _SetMonitorContrast = _dxva2.lookupFunction<
      Int32 Function(IntPtr hMonitor, Uint32 dwNewContrast),
      int Function(int hMonitor, int dwNewContrast)>('SetMonitorContrast');
  return _SetMonitorContrast(hMonitor, dwNewContrast);
}