SaveCurrentMonitorSettings function Null safety dxva2

int SaveCurrentMonitorSettings(
  1. int hMonitor
)

Saves the current monitor settings to the display's nonvolatile storage.

_BOOL SaveCurrentMonitorSettings(
  HANDLE hMonitor
);

Implementation

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