SetMonitorRedGreenOrBlueGain function Null safety dxva2

int SetMonitorRedGreenOrBlueGain (
  1. int hMonitor,
  2. int gtGainType,
  3. int dwNewGain
)

Sets a monitor's red, green, or blue gain value.

_BOOL SetMonitorRedGreenOrBlueGain(
  HANDLE       hMonitor,
  MC_GAIN_TYPE gtGainType,
  DWORD        dwNewGain
);

Implementation

int SetMonitorRedGreenOrBlueGain(int hMonitor, int gtGainType, int dwNewGain) {
  final _SetMonitorRedGreenOrBlueGain = _dxva2.lookupFunction<
      Int32 Function(IntPtr hMonitor, Int32 gtGainType, Uint32 dwNewGain),
      int Function(int hMonitor, int gtGainType,
          int dwNewGain)>('SetMonitorRedGreenOrBlueGain');
  return _SetMonitorRedGreenOrBlueGain(hMonitor, gtGainType, dwNewGain);
}