• Jeet Parekh's avatar
    windows: fix NewCallback function · 062cd7e4
    Jeet Parekh authored
    It has been suggested to migrate from syscall to golang.org/x/sys
    The NewCallback function works in syscall. But the golang.org/x/sys/windows NewCallback function did not work.
    
    Since golang.org/x/sys/windows already imports syscall, the NewCallback function now calls syscall.NewCallback.
    
    Fixes golang/go#21831
    
    Change-Id: I5cabd8540777b398a288308a66ae20896ed4a1db
    Reviewed-on: https://go-review.googlesource.com/63250
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
    062cd7e4
Name
Last commit
Last update
..
registry Loading commit data...
svc Loading commit data...
asm_windows_386.s Loading commit data...
asm_windows_amd64.s Loading commit data...
dll_windows.go Loading commit data...
env_unset.go Loading commit data...
env_windows.go Loading commit data...
eventlog.go Loading commit data...
exec_windows.go Loading commit data...
memory_windows.go Loading commit data...
mksyscall.go Loading commit data...
race.go Loading commit data...
race0.go Loading commit data...
security_windows.go Loading commit data...
service.go Loading commit data...
str.go Loading commit data...
syscall.go Loading commit data...
syscall_test.go Loading commit data...
syscall_windows.go Loading commit data...
syscall_windows_test.go Loading commit data...
types_windows.go Loading commit data...
types_windows_386.go Loading commit data...
types_windows_amd64.go Loading commit data...
zsyscall_windows.go Loading commit data...