SetMonitorColorTemperature function Null safety dxva2

int SetMonitorColorTemperature (
  1. int hMonitor,
  2. int ctCurrentColorTemperature
)

Sets a monitor's color temperature.

_BOOL SetMonitorColorTemperature(
  HANDLE               hMonitor,
  MC_COLOR_TEMPERATURE ctCurrentColorTemperature
);

Implementation

int SetMonitorColorTemperature(int hMonitor, int ctCurrentColorTemperature) {
  final _SetMonitorColorTemperature = _dxva2.lookupFunction<
      Int32 Function(IntPtr hMonitor, Int32 ctCurrentColorTemperature),
      int Function(int hMonitor,
          int ctCurrentColorTemperature)>('SetMonitorColorTemperature');
  return _SetMonitorColorTemperature(hMonitor, ctCurrentColorTemperature);
}