diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-24 12:53:42 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-24 12:53:42 +0200 |
commit | d61b1af716ca73eb65476490279a86365096b9af (patch) | |
tree | 1e7e8c441fd09042a1431779b1f92aa3f682e554 | |
parent | oleacc: pass structs on stack for 32-bit calling convention (diff) | |
download | wireguard-windows-d61b1af716ca73eb65476490279a86365096b9af.tar.xz wireguard-windows-d61b1af716ca73eb65476490279a86365096b9af.zip |
oleacc: fix debug leftover mess cruft
Sorry.
-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) } |