Author: weiden
Date: Sun Oct 21 23:14:19 2007
New Revision: 29752
URL:
http://svn.reactos.org/svn/reactos?rev=29752&view=rev
Log:
Load libraries as data files in RegLoadMUIString
Modified:
trunk/reactos/dll/win32/advapi32/reg/reg.c
Modified: trunk/reactos/dll/win32/advapi32/reg/reg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/reg/reg…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/reg/reg.c (original)
+++ trunk/reactos/dll/win32/advapi32/reg/reg.c Sun Oct 21 23:14:19 2007
@@ -4967,7 +4967,7 @@
uiStringId = _wtoi(pComma+2);
*pComma = L'\0';
- hModule = LoadLibraryW(pwszExpandedBuffer + 1);
+ hModule = LoadLibraryExW(pwszExpandedBuffer + 1, NULL,
LOAD_LIBRARY_AS_DATAFILE);
if (!hModule || !load_string(hModule, uiStringId, pszOutBuf, cbOutBuf /
sizeof(WCHAR)))
result = ERROR_BADKEY;
FreeLibrary(hModule);