mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
I was hoping this will fix the issue below. But there is more code that break new cgo rules. Fixes #409 (partial)
21 lines
621 B
Go
Executable File
21 lines
621 B
Go
Executable File
// MACHINE GENERATED BY 'go generate' COMMAND; DO NOT EDIT
|
|
|
|
package proc
|
|
|
|
import "unsafe"
|
|
import "syscall"
|
|
|
|
var _ unsafe.Pointer
|
|
|
|
var (
|
|
modntdll = syscall.NewLazyDLL("ntdll.dll")
|
|
|
|
procNtQueryInformationThread = modntdll.NewProc("NtQueryInformationThread")
|
|
)
|
|
|
|
func _NtQueryInformationThread(threadHandle syscall.Handle, infoclass int32, info uintptr, infolen uint32, retlen *uint32) (status _NTSTATUS) {
|
|
r0, _, _ := syscall.Syscall6(procNtQueryInformationThread.Addr(), 5, uintptr(threadHandle), uintptr(infoclass), uintptr(info), uintptr(infolen), uintptr(unsafe.Pointer(retlen)), 0)
|
|
status = _NTSTATUS(r0)
|
|
return
|
|
}
|