Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::testing::WmSysKeyUpInfo Struct Reference

#include <wm_builders.h>

Public Member Functions

Win32Message Build (LRESULT expected_result=kWmResultDontCheck)
 

Public Attributes

uint32_t key
 
uint8_t scan_code
 
WmFieldExtended extended
 
WmFieldContext context
 

Detailed Description

Definition at line 144 of file wm_builders.h.

Member Function Documentation

◆ Build()

Win32Message flutter::testing::WmSysKeyUpInfo::Build ( LRESULT  expected_result = kWmResultDontCheck)

Definition at line 57 of file wm_builders.cc.

57 {
58 LPARAM lParam = (1 /* repeat_count */ << 0) | (scan_code << 16) |
59 (extended << 24) | (context << 29) |
60 (1 /* prev_state */ << 30) | (1 /* transition */ << 31);
61 return Win32Message{
62 .message = WM_SYSKEYUP,
63 .wParam = key,
64 .lParam = lParam,
65 .expected_result = expected_result,
66 };
67}
LONG_PTR LPARAM
Definition: windows_types.h:60

Member Data Documentation

◆ context

WmFieldContext flutter::testing::WmSysKeyUpInfo::context

Definition at line 155 of file wm_builders.h.

◆ extended

WmFieldExtended flutter::testing::WmSysKeyUpInfo::extended

Definition at line 149 of file wm_builders.h.

◆ key

uint32_t flutter::testing::WmSysKeyUpInfo::key

Definition at line 145 of file wm_builders.h.

◆ scan_code

uint8_t flutter::testing::WmSysKeyUpInfo::scan_code

Definition at line 147 of file wm_builders.h.


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