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