forked from google/omaha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to using
::SHQueryValueEx
instead of ::RegQueryValueEx
https://www.geoffchappell.com/studies/windows/shell/shlwapi/api/reg/queryvalueex.htm ``` Although this function and the standard API function RegQueryValueEx have exactly the same prototype, the two do not behave identically. A call to the SHLWAPI function is essentially a call to the standard function but with post-processing, presumably with the idea of improving or even correcting the standard function. There are two general aims: to fix REG_SZ or REG_EXPAND_SZ data that is not properly null-terminated; to expand REG_EXPAND_SZ data and return it as REG_SZ data. ```
- Loading branch information
Showing
1 changed file
with
36 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters