Support for KEY_WOW64_64KEY in Advapi32Util registry methods?

325 views
Skip to first unread message

batkins

unread,
Jan 27, 2012, 2:03:06 PM1/27/12
to Java Native Access
Will there be support for accessing 32bit views from 64bit apps, ala
KEY_WOW64_64KEY, etc., in Advapi32Util?

The key appears to be defined in WinNT, but I don't see any way to
make use of it through Advapi32Util registry routines.
If there is a way to do this now, or if it's going to be available in
the future, I would like to know the details. If there is example
code using the raw registry APIs directly, that would be helpful too.

Finally, I don't see any of the platform.jar source under JNA in
github. I was looking at older code on java.net to see if there was a
signature I could use to set KEY_WOW64_64KEY, but I didn't see any.

Thanks!
Batkins

David Solin

unread,
Jan 27, 2012, 2:12:38 PM1/27/12
to jna-...@googlegroups.com
The source is on Github under /contrib/platform/src.

batkins

unread,
Jan 27, 2012, 2:16:15 PM1/27/12
to Java Native Access
Ok, thanks. I found it. Currently, it looks like the only way to
get registry values using alternate 32/64 views is by directly calling
Advapi32.INSTANCE.RegOpenKeyEx. Is that correct?

Thanks!
Reply all
Reply to author
Forward
0 new messages