(attributes *windows.SecurityAttributes, stackSize uint, startAddress uintptr, param uintptr, creationFlags uint32, threadID *uint32)
| 146 | } |
| 147 | |
| 148 | func CreateThread(attributes *windows.SecurityAttributes, stackSize uint, startAddress uintptr, param uintptr, creationFlags uint32, threadID *uint32) (handle windows.Handle) { |
| 149 | r0, _, _ := syscall.Syscall6(procCreateThread.Addr(), 6, uintptr(unsafe.Pointer(attributes)), uintptr(stackSize), uintptr(startAddress), uintptr(param), uintptr(creationFlags), uintptr(unsafe.Pointer(threadID))) |
| 150 | handle = windows.Handle(r0) |
| 151 | return |
| 152 | } |
| 153 | |
| 154 | func FreeConsole() { |
| 155 | syscall.Syscall(procFreeConsole.Addr(), 0, 0, 0, 0) |
no test coverage detected