We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I skimmed over the registry functions and I have several suggestions:
RegGetValue
RRF_SUBKEY_WOW6432KEY
RRF_SUBKEY_WOW6464KEY
RRF_NOEXPAND
RRF_RT_REG_DWORD
if data_len1 == data_len2 + 2 { // https://stackoverflow.com/q/29223180
validate_retrieved_reg_val
parse_multi_z_str
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I skimmed over the registry functions and I have several suggestions:
RegGetValue
receives no options at all, but:RRF_SUBKEY_WOW6432KEY
/RRF_SUBKEY_WOW6464KEY
are necessary sometimes (with this function and RegOpen*/RegCreate* too)RRF_NOEXPAND
is always used, why?RRF_RT_REG_DWORD
for performance and ease of useif data_len1 == data_len2 + 2 { // https://stackoverflow.com/q/29223180
validate_retrieved_reg_val
)parse_multi_z_str
is unsafe because it's not bounded by the size but the buffer can be without the double null terminatorThe text was updated successfully, but these errors were encountered: