Skip to content

feat: add support for 32-bit registry access in key_access enum#616

Open
Brainy0207 wants to merge 2 commits intomicrosoft:masterfrom
Brainy0207:add-registry-32-bit-key-flags
Open

feat: add support for 32-bit registry access in key_access enum#616
Brainy0207 wants to merge 2 commits intomicrosoft:masterfrom
Brainy0207:add-registry-32-bit-key-flags

Conversation

@Brainy0207
Copy link
Copy Markdown

This PR extends the key_access enum in registry_helpers.h to support 32-bit registry access. The following new values have been added:

  • read32: Opens a key for reading from the 64-bit registry.
  • readwrite32: Opens a key for reading and writing from the 64-bit registry.

Additionally, the get_access_flags function has been updated to handle these new enum values appropriately.

This is a follow up to #555 which added access to the 64-bit registry for 32-bit processes.
This adds access to the 32-bit registry for 64-bit processes.

Fixes #435

@Brainy0207
Copy link
Copy Markdown
Author

It seems #632 will add write and write64 keys to key_access, so we would end up without a write32 key, if both PRs are merged. Depending on which PR gets merged first, the other one should add the write32 key then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing 32-bit registry view from 64-bit process

2 participants