术语 | regqueryreflectionkey |
释义 | RegQueryReflectionKey 语法: C++ LONG WINAPI RegQueryReflectionKey( __in HKEY hBase, __out BOOL *bIsReflectionDisabled ); RegQueryReflectionKey功能 确定是否已禁用反射或指定的键启用。 参数 HBase的 [in] 句柄的注册表项。这种处理是由RegCreateKeyEx的,RegCreateKeyTransacted,RegOpenKeyEx,或RegOpenKeyTransacted函数返回的,它不能指定远程计算机上的一个关键。 bIsReflectionDisabled [out] 该值指示是否已被禁用的反映,通过RegDisableReflectionKey或通过RegEnableReflectionKey启用。 返回值 如果函数成功,返回值是ERROR_SUCCESS。 如果函数失败,返回值是一个非零错误代码Winerror.h中定义。您可以使用带有FORMAT_MESSAGE_FROM_SYSTEM标记的FormatMessage函数获得错误的一般说明。 备注 WOW64上,32位应用程序查看注册表树,它是从注册表树单独的64位应用程序视图。注册表反射特定注册表项的副本和两国意见值。 要禁用注册表反射,使用RegDisableReflectionKey功能。要恢复禁用的重要体现,使用RegEnableReflectionKey功能。 要求: 最低支持clientWindows Vista中,Windows XP Professional x64版本 最低支持serverWindows Server 2008中时,Windows Server 2003 SP1的 HeaderWinReg.h(头文件:winuser.h) LibraryAdvApi32.lib DLLAdvApi32.dll 参见 RegCreateKeyEx的 RegDisableReflectionKey RegEnableReflectionKey 登记职能 注册表重定向 RegOpenKeyEx 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==RegQueryReflectionKey Function Determines whether reflection has been disabled or enabled for the specified key. Syntax C++ LONG WINAPI RegQueryReflectionKey( __in HKEY hBase, __out BOOL *bIsReflectionDisabled ); Parameters hBase [in] A handle to the registry key. This handle is returned by the RegCreateKeyEx , RegCreateKeyTransacted , RegOpenKeyEx , or RegOpenKeyTransacted function; it cannot specify a key on a remote computer. bIsReflectionDisabled [out] A value that indicates whether reflection has been disabled through RegDisableReflectionKey or enabled through RegEnableReflectionKey . 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. To disable registry reflection, use the RegDisableReflectionKey function. To restore reflection for a disabled key, use the RegEnableReflectionKey function. 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 RegEnableReflectionKey Registry Functions Registry Redirector RegOpenKeyEx Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms724907(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。