mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974)
This commit is contained in:
parent
f660567937
commit
98e42d1f88
3 changed files with 6 additions and 6 deletions
|
@ -358,7 +358,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
|
|||
goto done;
|
||||
}
|
||||
/* Find out how big our core buffer is, and how many subkeys we have */
|
||||
rc = RegQueryInfoKey(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL,
|
||||
rc = RegQueryInfoKeyW(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL,
|
||||
NULL, NULL, &dataSize, NULL, NULL);
|
||||
if (rc!=ERROR_SUCCESS) {
|
||||
goto done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue