ChangeDisplaySettings function Null safety user32

int ChangeDisplaySettings(
  1. Pointer<DEVMODE> lpDevMode,
  2. int dwFlags
)

The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode.

LONG ChangeDisplaySettingsW(
  DEVMODEW *lpDevMode,
  DWORD    dwFlags
);

Implementation

int ChangeDisplaySettings(Pointer<DEVMODE> lpDevMode, int dwFlags) =>
    _ChangeDisplaySettings(lpDevMode, dwFlags);