SHRegGetBoolValueFromHKCUHKLM function (shlwapi.h)
[This function is no longer supported.]
Evaluates a registry key value and returns a boolean value that reflects whether the value exists and the expected state matches the actual state. This function will first check HKEY_CURRENT_USER for the requested information in the specified subkey. If the information does not exist under the HKEY_CURRENT_USER subtree it will check the HKEY_LOCAL_MACHINE subtree for the same information.
Syntax
BOOL SHRegGetBoolValueFromHKCUHKLM(
PCWSTR pszKey,
[in] PCWSTR pszValue,
[in] BOOL fDefault
);
Parameters
pszKey
Type: PCWSTR
A pointer to a null-terminated Unicode string that specifies the path to the key to be checked.
[in] pszValue
Type: PCWSTR
A pointer to a null-terminated Unicode string that specifies the value to be evaluated.
[in] fDefault
Type: BOOL
The expected state of the evaluation, as defined by the calling function.
Return value
Type: BOOL
TRUE if the evaluation matches the fDefault value; otherwise, FALSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
DLL | Shell32.dll |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για