summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 15:17:18 +0200
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 15:17:18 +0200
commitc34dbc13543be77de7ee23c3d617f8172ca5ce1c (patch)
treeaa782fe4f5a7105548dcb9992cb6c5de8dc80875
parentAdd missing MessageBox constants (diff)
downloadwireguard-windows-c34dbc13543be77de7ee23c3d617f8172ca5ce1c.tar.xz
wireguard-windows-c34dbc13543be77de7ee23c3d617f8172ca5ce1c.zip
Add some image retrieval constants
-rw-r--r--comctl32.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/comctl32.go b/comctl32.go
index 503ce443..3ec4b84c 100644
--- a/comctl32.go
+++ b/comctl32.go
@@ -7,9 +7,10 @@
package win
import (
- "golang.org/x/sys/windows"
"syscall"
"unsafe"
+
+ "golang.org/x/sys/windows"
)
// Button control messages
@@ -211,6 +212,8 @@ const (
const (
LPSTR_TEXTCALLBACK = ^uintptr(0)
I_CHILDRENCALLBACK = -1
+ I_IMAGECALLBACK = -1
+ I_IMAGENONE = -2
)
type HIMAGELIST HANDLE