-
Notifications
You must be signed in to change notification settings - Fork 22
/
message_amd64arm64.go
52 lines (45 loc) · 1.05 KB
/
message_amd64arm64.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Apache License Version 2.0, January 2004
//
// https://www.apache.org/licenses/LICENSE-2.0
//
//----------------------------------------
//go:build amd64 || arm64
// +build amd64 arm64
package types
type TDWordFiller struct {
Filler [4]uint8
}
type TPaint struct {
Msg Cardinal
_UnusedMsg Cardinal
DC HDC
PaintStruct Paint
Result LResult
}
type TMove struct {
Msg Cardinal
_UnusedMsg Cardinal
MoveType PtrInt // 0 = update, 1 = force RequestAlign, 128 = Source is Interface (Widget has moved)
Dummy LPARAM // needed for64 bit alignment
Result LResult
}
type TSize struct {
Msg Cardinal
MsgFiller TDWordFiller
SizeType PtrInt // see LCLType.pp (e.g. Size_Restored)
Width Word
Height Word
LParamfiller TDWordFiller
Result LResult
}
type TWindowPosChanged struct {
Msg Cardinal
_UnusedMsg Cardinal
Unused WPARAM
WindowPos WindowPos
Result LPARAM
}