aboutsummaryrefslogtreecommitdiffstats
path: root/api/api.h
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-07-28 12:30:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:50:59 +0100
commit4c131caa7d8cfbd412e5b30f9c95a9a6338e9d6e (patch)
tree08540d35c684cadb009bd02c7d5cfff459417868 /api/api.h
parentapi: fix trailing number detection in RemoveNumberedSuffix() (diff)
downloadwintun-4c131caa7d8cfbd412e5b30f9c95a9a6338e9d6e.tar.xz
wintun-4c131caa7d8cfbd412e5b30f9c95a9a6338e9d6e.zip
api: honor locale when comparing case-insensitive
Quote from MSDN: > You will need to call setlocale for _wcsicmp to work with Latin 1 > characters. The C locale is in effect by default, so, for example, ä > will not compare equal to Ä. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/api.h')
-rw-r--r--api/api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/api.h b/api/api.h
index 9524706..d304193 100644
--- a/api/api.h
+++ b/api/api.h
@@ -126,3 +126,9 @@ typedef BOOL(CALLBACK *WINTUN_ENUMPROC)(_In_ const WINTUN_ADAPTER *Adapter, _In_
WINTUN_STATUS WINAPI
WintunEnumAdapters(_In_z_count_c_(MAX_POOL) const WCHAR *Pool, _In_ WINTUN_ENUMPROC Func, _In_ LPARAM Param);
+
+void
+DevmgmtInit();
+
+void
+DevmgmtCleanup();