crypt32: Pass flags to enumeration callback.
This commit is contained in:
parent
c543f3d947
commit
5a5129b42e
|
@ -1321,7 +1321,7 @@ BOOL WINAPI CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara,
|
||||||
rc = RegEnumKeyExW(key, index++, name, &size, NULL, NULL, NULL,
|
rc = RegEnumKeyExW(key, index++, name, &size, NULL, NULL, NULL,
|
||||||
NULL);
|
NULL);
|
||||||
if (!rc)
|
if (!rc)
|
||||||
ret = pfnEnum(name, 0, &info, NULL, pvArg);
|
ret = pfnEnum(name, dwFlags, &info, NULL, pvArg);
|
||||||
} while (ret && !rc);
|
} while (ret && !rc);
|
||||||
if (ret && rc != ERROR_NO_MORE_ITEMS)
|
if (ret && rc != ERROR_NO_MORE_ITEMS)
|
||||||
SetLastError(rc);
|
SetLastError(rc);
|
||||||
|
|
Loading…
Reference in New Issue