Sign in
go
/
go
/
master
/
.
/
src
/
runtime
/
testdata
/
testprogcgo
/
windows
/
win.go
blob: 9d9f86c9beacb5e6ca73bd58510708db90326af0 [
file
] [
log
] [
blame
]
package windows
/*
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}