mirror of
https://github.com/reactos/reactos.git
synced 2024-12-03 00:13:32 +08:00
[APPHELP] Use GetSystemWindowsDirectory instead of GetWindowsDirectory
This commit is contained in:
parent
abeaf2e9db
commit
3fd6fcf6eb
@ -692,7 +692,7 @@ BOOL WINAPI SdbPackAppCompatData(HSDB hsdb, PSDBQUERYRESULT pQueryResult, PVOID*
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GetWindowsDirectoryW(pData->szModule, _countof(pData->szModule));
|
||||
GetSystemWindowsDirectoryW(pData->szModule, _countof(pData->szModule));
|
||||
hr = StringCchCatW(pData->szModule, _countof(pData->szModule), L"\\system32\\apphelp.dll");
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user