| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::WindowsProcTable Class Reference

`#include <windows_proc_table.h>`

## Public Member Functions
| WindowsProcTable ()
virtual | ~WindowsProcTable ()
virtual BOOL | GetPointerType (UINT32 pointer_id, POINTER_INPUT_TYPE *pointer_type)
virtual LRESULT | GetThreadPreferredUILanguages (DWORD flags, PULONG count, PZZWSTR languages, PULONG length) const

## Detailed Description

Definition at line 17 of file windows_proc_table.h.

## Constructor & Destructor Documentation

## ◆ WindowsProcTable()

flutter::WindowsProcTable::WindowsProcTable | ( |  | ) |

Definition at line 9 of file windows_proc_table.cc.

9 {
10 user32_ = fml::NativeLibrary::Create("user32.dll");
11 get_pointer_type_ =
12 user32_->ResolveFunction<GetPointerType_*>("GetPointerType");
13 }

## ◆ ~WindowsProcTable()

flutter::WindowsProcTable::~WindowsProcTable | ( |  | ) |
| virtual

Definition at line 15 of file windows_proc_table.cc.

15 {
16 user32_ = nullptr;
17 }

## Member Function Documentation

## ◆ GetPointerType()

BOOL flutter::WindowsProcTable::GetPointerType | ( | UINT32 | pointer_id,
|  | POINTER_INPUT_TYPE * | pointer_type
| ) |  |
| virtual

Definition at line 19 of file windows_proc_table.cc.

20 {
21 if (!get_pointer_type_.has_value()) {
22 return FALSE;
23 }
24
25 return get_pointer_type_.value()(pointer_id, pointer_type);
26 }

## ◆ GetThreadPreferredUILanguages()

LRESULT flutter::WindowsProcTable::GetThreadPreferredUILanguages | ( | DWORD | flags,
|  | PULONG | count,
|  | PZZWSTR | languages,
|  | PULONG | length
| ) |  | const
| virtual

Definition at line 28 of file windows_proc_table.cc.

31 {
32 return ::GetThreadPreferredUILanguages(flags, count, languages, length);
33 }

Referenced by flutter::GetPreferredLanguagesFromMUI().

The documentation for this class was generated from the following files:

- shell/platform/windows/windows_proc_table.h
- shell/platform/windows/windows_proc_table.cc