File size: 169 Bytes
de452ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | package windows
/*
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}
|
de452ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | package windows
/*
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}
|