Skip to content
New issue

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

expose 'samDesired' param to all methods #379

Closed
roeyoren opened this issue Nov 3, 2014 · 2 comments
Closed

expose 'samDesired' param to all methods #379

roeyoren opened this issue Nov 3, 2014 · 2 comments

Comments

@roeyoren
Copy link

roeyoren commented Nov 3, 2014

hi,

if there is a way to get value from wow64, u can skip this and just tell me how i can tell the Advapi32Util to read the string/dword/int from Wow6432Node folder in the registry and not from this folder.

every method in Advapi32Util call the method: Advapi32.INSTANCE.RegOpenKeyEx
i want that the param: 'samDesired' will be expose to the user under the name wow64 in order to support to read value from the registry under wow64.
the value should be like:
* 0 for standard registry access (32-bits for 32-bit app, 64-bits for 64-bits app)
* or KEY_WOW64_32KEY to force access to 32-bit registry view,
* or KEY_WOW64_64KEY to force access to 64-bit registry view

and the method on the 4th param will be like: (WinNT.KEY_READ | wow64) or will ask for specific enum

10x in advance,

Roey.

@dblock
Copy link
Member

dblock commented Nov 3, 2014

Looks like Advapi32Util doesn't expose this. If you want, you can add support for it, PR welcome.

CamW added a commit to CamW/jna that referenced this issue Aug 12, 2018
@CamW
Copy link
Contributor

CamW commented Aug 12, 2018

Hi, I've Created pull request #1001 for this issue. let me know what you think.

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

No branches or pull requests

3 participants