summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/win/winapi.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-22 15:18:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-22 15:18:44 (GMT)
commit63f263b27fa9b9c63f038ff108118726bc9c5c64 (patch)
tree7022b7804d75353ed9d32570dff17b8ffe71feaf /Utilities/cmlibuv/src/win/winapi.h
parentc81ace7ab7e5e325fef9339ed3ea05abbd0f8be4 (diff)
parent6db7b35236b81a73047a47c0f70f8befbf2ca51f (diff)
downloadCMake-63f263b27fa9b9c63f038ff108118726bc9c5c64.zip
CMake-63f263b27fa9b9c63f038ff108118726bc9c5c64.tar.gz
CMake-63f263b27fa9b9c63f038ff108118726bc9c5c64.tar.bz2
Merge topic 'update-libuv'
6db7b352 libuv: Update build within CMake b58d48c1 Merge branch 'upstream-libuv' into update-libuv f4a26c74 libuv 2018-01-19 (63de1eca) e8b57c22 libuv: Teach import script to add missing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1666
Diffstat (limited to 'Utilities/cmlibuv/src/win/winapi.h')
-rw-r--r--Utilities/cmlibuv/src/win/winapi.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/win/winapi.h b/Utilities/cmlibuv/src/win/winapi.h
index 4b0eeca..8993c65 100644
--- a/Utilities/cmlibuv/src/win/winapi.h
+++ b/Utilities/cmlibuv/src/win/winapi.h
@@ -4104,6 +4104,10 @@
# define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000
#endif
+#ifndef SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
+# define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 0x00000002
+#endif
+
/* from winternl.h */
typedef struct _UNICODE_STRING {
USHORT Length;
@@ -4730,6 +4734,25 @@ typedef DWORD (WINAPI *sPowerRegisterSuspendResumeNotification)
HANDLE Recipient,
_PHPOWERNOTIFY RegistrationHandle);
+/* from Winuser.h */
+typedef VOID (CALLBACK* WINEVENTPROC)
+ (HWINEVENTHOOK hWinEventHook,
+ DWORD event,
+ HWND hwnd,
+ LONG idObject,
+ LONG idChild,
+ DWORD idEventThread,
+ DWORD dwmsEventTime);
+
+typedef HWINEVENTHOOK (WINAPI *sSetWinEventHook)
+ (UINT eventMin,
+ UINT eventMax,
+ HMODULE hmodWinEventProc,
+ WINEVENTPROC lpfnWinEventProc,
+ DWORD idProcess,
+ DWORD idThread,
+ UINT dwflags);
+
/* Ntdll function pointers */
extern sRtlNtStatusToDosError pRtlNtStatusToDosError;
@@ -4758,4 +4781,7 @@ extern sGetFinalPathNameByHandleW pGetFinalPathNameByHandleW;
/* Powrprof.dll function pointer */
extern sPowerRegisterSuspendResumeNotification pPowerRegisterSuspendResumeNotification;
+/* User32.dll function pointer */
+extern sSetWinEventHook pSetWinEventHook;
+
#endif /* UV_WIN_WINAPI_H_ */