请问KEY_WOW64_64KEY对32位Windows什么影响?KEY_WOW64_64KEY、Windows

2023-09-08 01:06:11 作者:深渊里的怪物

它的出现的是指定 KEY_WOW64_64KEY 标志(的引用)没有任何影响 - 也就是说,不会引发错误,关键被打开,如果你尚未有标志设置。

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的行为?特别是,我想的东西,验证我的假设,它没有任何效果可言的后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及以上,KEY_WOW64_64KEY打开在64位注册表中的注册表项,如果它是一个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.