网站首页  词典首页

请输入您要查询的函数:

 

术语 regenablereflectionkey
释义 RegEnableReflectionKey
语法:
C++
LONG WINAPI RegEnableReflectionKey(
__in HKEY hBase
);
RegEnableReflectionKey功能
恢复指定残疾人关键注册表的反映。还原为一个关键的反映,并不影响任何子项的反映。
参数
HBase的 [in]
句柄的注册表项是以前伤残人士在使用RegDisableReflectionKey功能。这种处理是由RegCreateKeyEx的,RegCreateKeyTransacted,RegOpenKeyEx,或RegOpenKeyTransacted函数返回的,它不能指定远程计算机上的一个关键。
如果该键不反映名单上,这个函数成功,但没有效果。有关更多信息,请参阅注册表重定向器和注册表的思考。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个非零错误代码Winerror.h中定义。您可以使用带有FORMAT_MESSAGE_FROM_SYSTEM标记的FormatMessage函数获得错误的一般说明。
备注
WOW64上,32位应用程序查看注册表树,它是从注册表树单独的64位应用程序视图。注册表反射特定注册表项的副本和两国意见值。
要求:
最低支持clientWindows Vista中,Windows XP Professional x64版本
最低支持serverWindows Server 2008中时,Windows Server 2003 SP1的
HeaderWinreg.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
RegCreateKeyEx的
RegDisableReflectionKey
注册表重定向
登记职能
RegOpenKeyEx
RegQueryReflectionKey
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==RegEnableReflectionKey Function
Restores registry reflection for the specified disabled key. Restoring reflection for a key does not affect reflection of any subkeys.
Syntax
C++
LONG WINAPI RegEnableReflectionKey(
__in HKEY hBase
);
Parameters
hBase [in]
A handle to the registry key that was previously disabled using the RegDisableReflectionKey function. This handle is returned by the RegCreateKeyEx , RegCreateKeyTransacted , RegOpenKeyEx , or RegOpenKeyTransacted function; it cannot specify a key on a remote computer.
If the key is not on the reflection list, this function succeeds but has no effect. For more information, see Registry Redirector and Registry Reflection .
Return Value
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a nonzero error code defined in Winerror.h. You can use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic description of the error.
Remarks
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.
Requirements
Minimum supported clientWindows Vista, Windows XP Professional x64 Edition
Minimum supported serverWindows Server 2008, Windows Server 2003 with SP1
HeaderWinreg.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
RegCreateKeyEx
RegDisableReflectionKey
Registry Redirector
Registry Functions
RegOpenKeyEx
RegQueryReflectionKey
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724859(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:22:20