#include <windows_proc_table.h>
Definition at line 17 of file windows_proc_table.h.
◆ WindowsProcTable()
flutter::WindowsProcTable::WindowsProcTable |
( |
| ) |
|
Definition at line 12 of file windows_proc_table.cc.
12 {
14 get_pointer_type_ =
16}
const std::optional< T > ResolveFunction(const char *symbol)
static fml::RefPtr< NativeLibrary > Create(const char *path)
◆ ~WindowsProcTable()
flutter::WindowsProcTable::~WindowsProcTable |
( |
| ) |
|
|
virtual |
◆ DwmFlush()
HRESULT flutter::WindowsProcTable::DwmFlush |
( |
| ) |
const |
|
virtual |
◆ DwmIsCompositionEnabled()
bool flutter::WindowsProcTable::DwmIsCompositionEnabled |
( |
| ) |
const |
|
virtual |
Definition at line 48 of file windows_proc_table.cc.
48 {
49 BOOL composition_enabled;
51 return composition_enabled;
52 }
53
54 return true;
55}
virtual bool DwmIsCompositionEnabled() const
◆ GetHighContrastEnabled()
bool flutter::WindowsProcTable::GetHighContrastEnabled |
( |
| ) |
const |
|
virtual |
Definition at line 38 of file windows_proc_table.cc.
38 {
39 HIGHCONTRAST high_contrast = {.cbSize = sizeof(HIGHCONTRAST)};
40 if (!::SystemParametersInfoW(SPI_GETHIGHCONTRAST, sizeof(HIGHCONTRAST),
41 &high_contrast, 0)) {
42 return false;
43 }
44
45 return high_contrast.dwFlags & HCF_HIGHCONTRASTON;
46}
◆ GetPointerType()
BOOL flutter::WindowsProcTable::GetPointerType |
( |
UINT32 |
pointer_id, |
|
|
POINTER_INPUT_TYPE * |
pointer_type |
|
) |
| const |
|
virtual |
Definition at line 22 of file windows_proc_table.cc.
23 {
24 if (!get_pointer_type_.has_value()) {
26 }
27
28 return get_pointer_type_.value()(pointer_id, pointer_type);
29}
◆ GetThreadPreferredUILanguages()
LRESULT flutter::WindowsProcTable::GetThreadPreferredUILanguages |
( |
DWORD |
flags, |
|
|
PULONG |
count, |
|
|
PZZWSTR |
languages, |
|
|
PULONG |
length |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: