函数参考


_WinAPI_RegDisableReflectionKey

Disables registry reflection for the specified key.

#Include <WinAPIEx.au3>
_WinAPI_RegDisableReflectionKey ( $hKey )

参数

$hKey Handle to an open registry key. This handle is returned by the _WinAPI_RegCreateKey() or _WinAPI_RegOpenKey()
function; it cannot specify a key on a remote computer. If the key is not on the reflection list,
the function succeeds but has no effect.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

On WOW64, 32-bit applications view a registry tree that is separate from the registry tree that 64-bit applications
view. Registry reflection copies specific registry keys and values between the two views.

To restore registry reflection for a disabled key, use the _WinAPI_RegEnableReflectionKey().

相关

详情参考

在MSDN中搜索