summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-05-08 11:21:09 +0200
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-05-08 11:21:09 +0200
commit10b82f329a11076854b662dd29025194d9048bb4 (patch)
tree8814bc428bf8ee1ba35c59dc4b0d512568b85c7e
parentMerge branch 'master' of github.com:lxn/win (diff)
downloadwireguard-windows-10b82f329a11076854b662dd29025194d9048bb4.tar.xz
wireguard-windows-10b82f329a11076854b662dd29025194d9048bb4.zip
Fix for previous commit
-rw-r--r--shell32.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell32.go b/shell32.go
index 27f20da7..8c683aec 100644
--- a/shell32.go
+++ b/shell32.go
@@ -400,7 +400,7 @@ func SHBrowseForFolder(lpbi *BROWSEINFO) uintptr {
return ret
}
-func SHDefExtractIconW(pszIconFile *uint16, iIndex int32, uFlags uint32, phiconLarge, phiconSmall *HICON, nIconSize uint32) HRESULT {
+func SHDefExtractIcon(pszIconFile *uint16, iIndex int32, uFlags uint32, phiconLarge, phiconSmall *HICON, nIconSize uint32) HRESULT {
ret, _, _ := syscall.Syscall6(shDefExtractIcon.Addr(), 6,
uintptr(unsafe.Pointer(pszIconFile)),
uintptr(iIndex),