5#include "flutter/shell/platform/windows/windows_proc_table.h"
23 POINTER_INPUT_TYPE* pointer_type)
const {
24 if (!get_pointer_type_.has_value()) {
28 return get_pointer_type_.value()(pointer_id, pointer_type);
39 HIGHCONTRAST high_contrast = {.cbSize =
sizeof(HIGHCONTRAST)};
40 if (!::SystemParametersInfoW(SPI_GETHIGHCONTRAST,
sizeof(HIGHCONTRAST),
45 return high_contrast.dwFlags & HCF_HIGHCONTRASTON;
49 BOOL composition_enabled;
51 return composition_enabled;
virtual HRESULT DwmFlush() const
virtual BOOL GetPointerType(UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type) const
virtual bool GetHighContrastEnabled() const
virtual ~WindowsProcTable()
virtual bool DwmIsCompositionEnabled() const
virtual LRESULT GetThreadPreferredUILanguages(DWORD flags, PULONG count, PZZWSTR languages, PULONG length) const
const std::optional< T > ResolveFunction(const char *symbol)
static fml::RefPtr< NativeLibrary > Create(const char *path)
FlutterSemanticsFlag flags