From 5bd3faabff08f68d8a341518d2a39ea304478f6a Mon Sep 17 00:00:00 2001 From: shuax Date: Wed, 30 Mar 2022 09:28:30 +0800 Subject: fix bug --- core/src/xmake/winos/registry_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/xmake/winos/registry_query.c b/core/src/xmake/winos/registry_query.c index 3116d9ebd..1dfcf8dc7 100644 --- a/core/src/xmake/winos/registry_query.c +++ b/core/src/xmake/winos/registry_query.c @@ -34,7 +34,7 @@ * types */ // the RegGetValueW func type -typedef BOOL (WINAPI* xm_RegGetValueW_t)(HKEY hkey, LPCSTR lpSubKey, LPCSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData); +typedef BOOL (WINAPI* xm_RegGetValueW_t)(HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData); /* ////////////////////////////////////////////////////////////////////////////////////// * implementation -- cgit v1.3.1