Sign in
go
/
go
/
d556c251a1f1506f68e1e4064c3537948ff667a3
/
.
/
src
/
runtime
/
testdata
/
testprogcgo
/
windows
/
win.go
blob: f2eabb95488b72757ed1f01b257b6f277315af12 [
file
] [
log
] [
blame
]
package windows
/*
#cgo CFLAGS: -mnop-fun-dllimport
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}