diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-24 12:48:04 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-24 12:48:04 -0400 |
commit | edc67f0809d21e868ca8923e9699f9511897184e (patch) | |
tree | b726a59e5812eb5fab703a38ee5e4fd6ffb85433 /Utility | |
parent | d6d0b1fe20397bf073f11d579f5c0c38785e071a (diff) |
add winprocess.h
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/WinProcess.hs | 2 | ||||
-rw-r--r-- | Utility/winprocess.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Utility/WinProcess.hs b/Utility/WinProcess.hs index 36f079d04..cfac8794c 100644 --- a/Utility/WinProcess.hs +++ b/Utility/WinProcess.hs @@ -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 () diff --git a/Utility/winprocess.h b/Utility/winprocess.h new file mode 100644 index 000000000..eac954fca --- /dev/null +++ b/Utility/winprocess.h @@ -0,0 +1,3 @@ +#include <windows.h> + +void terminatepid (DWORD pid); |