Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::testing::WmSysKeyDownInfo 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
 
WmFieldPrevState prev_state
 
WmFieldContext context
 
uint16_t repeat_count = 1
 

Detailed Description

Definition at line 123 of file wm_builders.h.

Member Function Documentation

◆ Build()

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

Definition at line 45 of file wm_builders.cc.

45 {
46 LPARAM lParam = (repeat_count << 0) | (scan_code << 16) | (extended << 24) |
47 (context << 29) | (prev_state << 30) |
48 (0 /* transition */ << 31);
49 return Win32Message{
50 .message = WM_SYSKEYDOWN,
51 .wParam = key,
52 .lParam = lParam,
53 .expected_result = expected_result,
54 };
55}
LONG_PTR LPARAM
Definition: windows_types.h:60

Member Data Documentation

◆ context

WmFieldContext flutter::testing::WmSysKeyDownInfo::context

Definition at line 134 of file wm_builders.h.

◆ extended

WmFieldExtended flutter::testing::WmSysKeyDownInfo::extended

Definition at line 128 of file wm_builders.h.

◆ key

uint32_t flutter::testing::WmSysKeyDownInfo::key

Definition at line 124 of file wm_builders.h.

◆ prev_state

WmFieldPrevState flutter::testing::WmSysKeyDownInfo::prev_state

Definition at line 130 of file wm_builders.h.

◆ repeat_count

uint16_t flutter::testing::WmSysKeyDownInfo::repeat_count = 1

Definition at line 136 of file wm_builders.h.

◆ scan_code

uint8_t flutter::testing::WmSysKeyDownInfo::scan_code

Definition at line 126 of file wm_builders.h.


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