ChangeDisplaySettingsExA method

int ChangeDisplaySettingsExA(
  1. Pointer<Int8> lpszDeviceName,
  2. Pointer<LPDEVMODEA> lpDevMode,
  3. Pointer<HWND__> hwnd,
  4. int dwflags,
  5. Pointer<Void> lParam,
)

Implementation

int ChangeDisplaySettingsExA(
  ffi.Pointer<ffi.Int8> lpszDeviceName,
  ffi.Pointer<LPDEVMODEA> lpDevMode,
  ffi.Pointer<HWND__> hwnd,
  int dwflags,
  ffi.Pointer<ffi.Void> lParam,
) {
  return (_ChangeDisplaySettingsExA ??= _dylib.lookupFunction<
      _c_ChangeDisplaySettingsExA,
      _dart_ChangeDisplaySettingsExA>('ChangeDisplaySettingsExA'))(
    lpszDeviceName,
    lpDevMode,
    hwnd,
    dwflags,
    lParam,
  );
}