5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_
10 #include "flutter/fml/macros.h"
11 #include "flutter/fml/native_library.h"
27 POINTER_INPUT_TYPE* pointer_type)
const;
65 virtual HCURSOR
LoadCursor(HINSTANCE instance, LPCWSTR cursor_name)
const;
71 virtual HCURSOR
SetCursor(HCURSOR cursor)
const;
74 using GetPointerType_ = BOOL __stdcall(UINT32 pointerId,
75 POINTER_INPUT_TYPE* pointerType);
78 fml::RefPtr<fml::NativeLibrary> user32_;
80 std::optional<GetPointerType_*> get_pointer_type_;
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 HCURSOR SetCursor(HCURSOR cursor) const
virtual bool GetHighContrastEnabled() const
virtual ~WindowsProcTable()
virtual bool DwmIsCompositionEnabled() const
virtual LRESULT GetThreadPreferredUILanguages(DWORD flags, PULONG count, PZZWSTR languages, PULONG length) const