ChangeDisplaySettingsExW method

int ChangeDisplaySettingsExW(
  1. Pointer<Uint16> lpszDeviceName,
  2. Pointer<LPDEVMODEW> lpDevMode,
  3. Pointer<HWND__> hwnd,
  4. int dwflags,
  5. Pointer<Void> lParam,
)

Implementation

int ChangeDisplaySettingsExW(
  ffi.Pointer<ffi.Uint16> lpszDeviceName,
  ffi.Pointer<LPDEVMODEW> lpDevMode,
  ffi.Pointer<HWND__> hwnd,
  int dwflags,
  ffi.Pointer<ffi.Void> lParam,
) {
  return (_ChangeDisplaySettingsExW ??= _dylib.lookupFunction<
      _c_ChangeDisplaySettingsExW,
      _dart_ChangeDisplaySettingsExW>('ChangeDisplaySettingsExW'))(
    lpszDeviceName,
    lpDevMode,
    hwnd,
    dwflags,
    lParam,
  );
}