crypt32: Pass flags to enumeration callback.

oldstable
Juan Lang 2008-10-22 13:21:20 -07:00 committed by Alexandre Julliard
parent c543f3d947
commit 5a5129b42e
1 changed files with 1 additions and 1 deletions

View File

@ -1321,7 +1321,7 @@ BOOL WINAPI CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara,
rc = RegEnumKeyExW(key, index++, name, &size, NULL, NULL, NULL,
NULL);
if (!rc)
ret = pfnEnum(name, 0, &info, NULL, pvArg);
ret = pfnEnum(name, dwFlags, &info, NULL, pvArg);
} while (ret && !rc);
if (ret && rc != ERROR_NO_MORE_ITEMS)
SetLastError(rc);