ChangeDisplaySettingsEx function user32
The ChangeDisplaySettingsEx function changes the settings of the specified display device to the specified graphics mode.
LONG ChangeDisplaySettingsExW(
LPCWSTR lpszDeviceName,
DEVMODEW *lpDevMode,
HWND hwnd,
DWORD dwflags,
LPVOID lParam
);
Implementation
int ChangeDisplaySettingsEx(Pointer<Utf16> lpszDeviceName,
Pointer<DEVMODE> lpDevMode, int hwnd, int dwflags, Pointer lParam) =>
_ChangeDisplaySettingsEx(lpszDeviceName, lpDevMode, hwnd, dwflags, lParam);