Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flutter::testing::WmKeyUpInfo 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
 
bool overwrite_prev_state_0
 

Detailed Description

Definition at line 71 of file wm_builders.h.

Member Function Documentation

◆ Build()

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

Definition at line 21 of file wm_builders.cc.

21 {
22 LPARAM lParam = (1 /* repeat_count */ << 0) | (scan_code << 16) |
23 (extended << 24) | (!overwrite_prev_state_0 << 30) |
24 (1 /* transition */ << 31);
25 return Win32Message{
26 .message = WM_KEYUP,
27 .wParam = key,
28 .lParam = lParam,
29 .expected_result = expected_result,
30 };
31}
LONG_PTR LPARAM

Member Data Documentation

◆ extended

WmFieldExtended flutter::testing::WmKeyUpInfo::extended

Definition at line 76 of file wm_builders.h.

◆ key

uint32_t flutter::testing::WmKeyUpInfo::key

Definition at line 72 of file wm_builders.h.

◆ overwrite_prev_state_0

bool flutter::testing::WmKeyUpInfo::overwrite_prev_state_0

Definition at line 89 of file wm_builders.h.

◆ scan_code

uint8_t flutter::testing::WmKeyUpInfo::scan_code

Definition at line 74 of file wm_builders.h.


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