开发者

How to create a registry key in 64bit view from a 32bit application, using native Windows API

I'm kind of a noob when it comes to windows API.

I try to create a registry key in the 64bit view o开发者_高级运维f the registry, from a 32bit application using

System::Call "${RegCreateKeyEx}(${HKEY_LOCAL_MACHINE}, 'SOFTWARE\SecureW2\Methods\Default\Profiles\26\ConfigData', 0, 'REG_BINARY', 0x00000000L, 0x0100, NULL, .r5, .r6) .r3"

(It's nsis scripting), but it doesn't seem to work.


You might be running into registry redirect.

Redirected keys are mapped to physical locations under Wow6432Node. For example, HKEY_LOCAL_MACHINE\Software is redirected to HKEY_LOCAL_MACHINE\Software\Wow6432Node.

http://msdn.microsoft.com/en-us/library/aa384232%28VS.85%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜