mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
Load libraries as data files in RegLoadMUIString
svn path=/trunk/; revision=29752
This commit is contained in:
@@ -4967,7 +4967,7 @@ RegLoadMUIStringW(IN HKEY hKey,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user