Merge pull request #30 from brunoqc/master

Add TerminateProcess()
diff --git a/kernel32.go b/kernel32.go
index f23e339..e7af4ed 100644
--- a/kernel32.go
+++ b/kernel32.go
@@ -40,6 +40,7 @@
 	procGetConsoleScreenBufferInfo = modkernel32.NewProc("GetConsoleScreenBufferInfo")
 	procSetConsoleTextAttribute    = modkernel32.NewProc("SetConsoleTextAttribute")
 	procGetDiskFreeSpaceEx         = modkernel32.NewProc("GetDiskFreeSpaceExW")
+	procGetProcessTimes            = modkernel32.NewProc("GetProcessTimes")
 )
 
 func GetModuleHandle(modulename string) HINSTANCE {
@@ -256,6 +257,17 @@
 	return ret != 0
 }
 
+func GetProcessTimes(hProcess HANDLE, lpCreationTime, lpExitTime, lpKernelTime, lpUserTime *FILETIME) bool {
+	ret, _, _ := procGetProcessTimes.Call(
+		uintptr(hProcess),
+		uintptr(unsafe.Pointer(lpCreationTime)),
+		uintptr(unsafe.Pointer(lpExitTime)),
+		uintptr(unsafe.Pointer(lpKernelTime)),
+		uintptr(unsafe.Pointer(lpUserTime)))
+
+	return ret != 0
+}
+
 func GetConsoleScreenBufferInfo(hConsoleOutput HANDLE) *CONSOLE_SCREEN_BUFFER_INFO {
 	var csbi CONSOLE_SCREEN_BUFFER_INFO
 	ret, _, _ := procGetConsoleScreenBufferInfo.Call(
diff --git a/user32.go b/user32.go
index a8ba72a..639acd7 100644
--- a/user32.go
+++ b/user32.go
@@ -5,7 +5,8 @@
 package w32
 
 import (
-	// #include <WTypes.h>
+	// #include <wtypes.h>
+	// #include <winable.h>
 	"C"
 	"fmt"
 	"syscall"