add winprocess.h
This commit is contained in:
parent
839ec7e26c
commit
24ba7c4296
2 changed files with 4 additions and 1 deletions
|
@ -11,5 +11,5 @@ module Utility.WinProcess where
|
|||
|
||||
import Utility.PID
|
||||
|
||||
foreign import ccall unsafe "terminatepid"
|
||||
foreign import ccall unsafe "winprocess.h terminatepid"
|
||||
terminatePID :: PID -> IO ()
|
||||
|
|
3
Utility/winprocess.h
Normal file
3
Utility/winprocess.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#include <windows.h>
|
||||
|
||||
void terminatepid (DWORD pid);
|
Loading…
Reference in a new issue