summaryrefslogtreecommitdiffstats
path: root/src/win/winapi.h
diff options
context:
space:
mode:
authorlibuv upstream <libuv@googlegroups.com>2018-05-06 21:48:02 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-07 15:47:58 (GMT)
commitc8b67ea119c4000018238f6c3201a1364356d93a (patch)
tree0ab31e431ee82c0796c1b06922347762aa12b347 /src/win/winapi.h
parentf4a26c748b5ea2cafecdf5490b744a2b167c01ae (diff)
downloadCMake-c8b67ea119c4000018238f6c3201a1364356d93a.zip
CMake-c8b67ea119c4000018238f6c3201a1364356d93a.tar.gz
CMake-c8b67ea119c4000018238f6c3201a1364356d93a.tar.bz2
libuv 2018-05-06 (bf605bd7)
Code extracted from: https://github.com/libuv/libuv.git at commit bf605bd7d0dd5660663e8e2eb44d63aa3355e268 (v1.x).
Diffstat (limited to 'src/win/winapi.h')
-rw-r--r--src/win/winapi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/win/winapi.h b/src/win/winapi.h
index cc54b79..38570c2 100644
--- a/src/win/winapi.h
+++ b/src/win/winapi.h
@@ -4775,4 +4775,19 @@ extern sPowerRegisterSuspendResumeNotification pPowerRegisterSuspendResumeNotifi
/* User32.dll function pointer */
extern sSetWinEventHook pSetWinEventHook;
+/* iphlpapi.dll function pointer */
+union _NET_LUID_LH;
+typedef DWORD (WINAPI *sConvertInterfaceIndexToLuid)(
+ ULONG InterfaceIndex,
+ union _NET_LUID_LH *InterfaceLuid);
+
+typedef DWORD (WINAPI *sConvertInterfaceLuidToNameW)(
+ const union _NET_LUID_LH *InterfaceLuid,
+ PWSTR InterfaceName,
+ size_t Length);
+
+extern sConvertInterfaceIndexToLuid pConvertInterfaceIndexToLuid;
+extern sConvertInterfaceLuidToNameW pConvertInterfaceLuidToNameW;
+
+
#endif /* UV_WIN_WINAPI_H_ */