aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/WindowsEnv/Utils.hs
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-26 04:51:20 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-26 04:51:20 +0300
commitbdf50a5e75f9fad6ce9dd318f4bfcaec883514f3 (patch)
tree4a780bdf75a5f3c77c39ff867cf1ceb3b7a0cdc3 /src/WindowsEnv/Utils.hs
parentfix x86 builds (diff)
downloadwindows-env-bdf50a5e75f9fad6ce9dd318f4bfcaec883514f3.tar.gz
windows-env-bdf50a5e75f9fad6ce9dd318f4bfcaec883514f3.zip
add comments to `foreign` importsv0.1.0.0
Diffstat (limited to 'src/WindowsEnv/Utils.hs')
-rw-r--r--src/WindowsEnv/Utils.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WindowsEnv/Utils.hs b/src/WindowsEnv/Utils.hs
index 4432a95..2dffaef 100644
--- a/src/WindowsEnv/Utils.hs
+++ b/src/WindowsEnv/Utils.hs
@@ -18,6 +18,8 @@ import qualified System.Win32.Types as WinAPI
#include "ccall.h"
+-- SendNotifyMessage isn't provided by Win32 (as of version 2.4.0.0).
+
foreign import WINDOWS_ENV_CCALL "Windows.h SendNotifyMessageW"
c_SendNotifyMessage :: WinAPI.HWND -> WinAPI.WindowMessage -> WinAPI.WPARAM -> WinAPI.LPARAM -> IO WinAPI.LRESULT