diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-10-24 14:12:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 14:12:23 +0200 |
commit | cc00c7492fe17e89bda16b297c7a64d7823900b7 (patch) | |
tree | 1e7e8c441fd09042a1431779b1f92aa3f682e554 | |
parent | Merge pull request #96 from zx2c4-forks/jd/fix-x86-calling-convention (diff) | |
parent | oleacc: fix debug leftover mess cruft (diff) | |
download | wireguard-windows-cc00c7492fe17e89bda16b297c7a64d7823900b7.tar.xz wireguard-windows-cc00c7492fe17e89bda16b297c7a64d7823900b7.zip |
Merge pull request #97 from zx2c4-forks/jd/oopsole
oleacc: fix debug leftover mess cruft
-rw-r--r-- | oleacc_amd64.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/oleacc_amd64.go b/oleacc_amd64.go index b88858b4..8bea12af 100644 --- a/oleacc_amd64.go +++ b/oleacc_amd64.go @@ -47,15 +47,13 @@ func (obj *IAccPropServices) SetHwndPropStr(hwnd HWND, idObject int32, idChild u if err != nil { return -((E_INVALIDARG ^ 0xFFFFFFFF) + 1) } - ret, _, _ := syscall.Syscall9(obj.LpVtbl.SetHwndPropStr, 7, + ret, _, _ := syscall.Syscall6(obj.LpVtbl.SetHwndPropStr, 6, uintptr(unsafe.Pointer(obj)), uintptr(hwnd), uintptr(idObject), uintptr(idChild), uintptr(unsafe.Pointer(idProp)), - 0, - uintptr(unsafe.Pointer(str16)), - 0, 0) + uintptr(unsafe.Pointer(str16))) return HRESULT(ret) } |