问题描述
似乎指定了 KEY_WOW64_64KEY
标志 (reference) 在 32 位 Windows XP 下访问注册表项时没有任何影响 - 即不会抛出错误,并且该项被打开,就像您没有没有设置标志.
It appears that specifying the KEY_WOW64_64KEY
flag (reference) when accessing a registry key under 32-bit Windows XP has no effect - that is, no error is thrown, and the key is opened as if you hadn't had the flag set.
我知道 Windows 2000 在遇到此标志时会抛出错误.
I know Windows 2000 throws an error when it encounters this flag.
我想确保我的应用程序与尽可能多的 Windows 版本(2k 及更高版本)兼容.
I want to make sure my app is compatible with as many versions of windows (2k and later) as possible.
是否有针对此标志指定每个版本的 Windows 行为的 Microsoft 参考?特别是,我想要一些东西来验证我的假设,即它对 post-2k 32 位 Windows 根本没有影响.
Is there a Microsoft reference that specifies each version of Windows' behaviour for this flag? In particular, I'd like something that validates my assumption that it has no effect at all on post-2k 32-bit Windows.
推荐答案
我无法使用 Windows 2000 或 XP,但我知道在 Vista 及更高版本上,如果是 64 位,KEY_WOW64_64KEY 会打开 64 位注册表中的注册表项操作系统和 32 位注册表(如果是 32 位操作系统).
I can't speak to Windows 2000 or XP, but I know that on Vista and above, KEY_WOW64_64KEY opens the registry key in the 64bit registry if it's a 64bit OS and the 32bit registry if it's a 32bit OS.
这篇关于KEY_WOW64_64KEY 对 32 位 Windows 有什么影响吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!