From 4c131caa7d8cfbd412e5b30f9c95a9a6338e9d6e Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 28 Jul 2020 12:30:12 +0200 Subject: api: honor locale when comparing case-insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- api/api.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'api/api.h') 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(); -- cgit v1.2.3-59-g8ed1b