5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_
36 POINTER_INPUT_TYPE* pointer_type)
const;
80 virtual HCURSOR
SetCursor(HCURSOR cursor)
const;
103 const MARGINS* pMarInset)
const;
113 DWORD cbAttribute)
const;
138 PDISPLAY_DEVICE lpDisplayDevice,
139 DWORD dwFlags)
const;
147 DEVMODEW* lpDevMode)
const;
161 MONITORENUMPROC lpfnEnum,
165 using GetPointerType_ =
BOOL __stdcall(UINT32 pointerId,
166 POINTER_INPUT_TYPE* pointerType);
167 using EnableNonClientDpiScaling_ =
BOOL __stdcall(HWND hwnd);
168 using SetWindowCompositionAttribute_ =
170 using AdjustWindowRectExForDpi_ =
BOOL __stdcall(LPRECT lpRect,
179 std::optional<GetPointerType_*> get_pointer_type_;
180 std::optional<EnableNonClientDpiScaling_*> enable_non_client_dpi_scaling_;
181 std::optional<SetWindowCompositionAttribute_*>
182 set_window_composition_attribute_;
183 std::optional<AdjustWindowRectExForDpi_*> adjust_window_rect_ext_for_dpi_;
virtual HRESULT DwmFlush() const
virtual BOOL GetPointerType(UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type) const
virtual HCURSOR LoadCursor(HINSTANCE instance, LPCWSTR cursor_name) const
virtual int GetSystemMetrics(int nIndex) const
virtual HCURSOR SetCursor(HCURSOR cursor) const
virtual bool GetHighContrastEnabled() const
virtual ~WindowsProcTable()
virtual BOOL EnumDisplayDevices(LPCWSTR lpDevice, DWORD iDevNum, PDISPLAY_DEVICE lpDisplayDevice, DWORD dwFlags) const
virtual BOOL AdjustWindowRectExForDpi(LPRECT lpRect, DWORD dwStyle, BOOL bMenu, DWORD dwExStyle, UINT dpi) const
virtual BOOL EnableNonClientDpiScaling(HWND hwnd) const
virtual HRESULT DwmExtendFrameIntoClientArea(HWND hwnd, const MARGINS *pMarInset) const
virtual bool DwmIsCompositionEnabled() const
virtual BOOL EnumDisplaySettings(LPCWSTR lpszDeviceName, DWORD iModeNum, DEVMODEW *lpDevMode) const
virtual HRESULT DwmSetWindowAttribute(HWND hwnd, DWORD dwAttribute, LPCVOID pvAttribute, DWORD cbAttribute) const
virtual BOOL GetMonitorInfo(HMONITOR hMonitor, LPMONITORINFO lpmi) const
virtual BOOL EnumDisplayMonitors(HDC hdc, LPCRECT lprcClip, MONITORENUMPROC lpfnEnum, LPARAM dwData) const
virtual LRESULT GetThreadPreferredUILanguages(DWORD flags, PULONG count, PZZWSTR languages, PULONG length) const
virtual BOOL SetWindowCompositionAttribute(HWND hwnd, WINDOWCOMPOSITIONATTRIBDATA *data) const
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
WINDOWCOMPOSITIONATTRIB Attrib