mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +00:00
[APPHELP] Use GetSystemWindowsDirectory instead of GetWindowsDirectory
This commit is contained in:
parent
abeaf2e9db
commit
3fd6fcf6eb
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ BOOL WINAPI SdbPackAppCompatData(HSDB hsdb, PSDBQUERYRESULT pQueryResult, PVOID*
|
||||||
return FALSE;
|
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");
|
hr = StringCchCatW(pData->szModule, _countof(pData->szModule), L"\\system32\\apphelp.dll");
|
||||||
if (!SUCCEEDED(hr))
|
if (!SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue