网站首页  词典首页

请输入您要查询的函数:

 

术语 regdisablepredefinedcache
释义 RegDisablePredefinedCache
语法:
C++
LONG WINAPI RegDisablePredefinedCache(void);
RegDisablePredefinedCache功能
禁用缓存处理的预定义的注册表处理当前进程HKEY_CURRENT_USER。此函数不能在远程计算机上。
若要禁用缓存处理所有预定义的注册表句柄,使用RegDisablePredefinedCacheEx功能。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码。
备注
之后的任何HKEY_CURRENT_USER的调用此函数将导致操作访问正在执行的HKEY_USERS \\ SID_of_current_user,或HKEY_USERS \\。默认情况下,如果当前用户的配置单元未加载。小岛屿发展中国家的更多信息,请参阅安全标识符。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinreg.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
FormatMessage
预定义项
RegDisablePredefinedCacheEx
登记职能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==RegDisablePredefinedCache Function
Disables handle caching of the predefined registry handle for HKEY_CURRENT_USER for the current process. This function does not work on a remote computer.
To disables handle caching of all predefined registry handles, use the RegDisablePredefinedCacheEx function.
Syntax
C++
LONG WINAPI RegDisablePredefinedCache(void);
Parameters
This function has no parameters.
Return Value
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a system error code .
Remarks
Any access of HKEY_CURRENT_USER after this function is called will result in operations being performed on HKEY_USERS\\SID_of_current_user, or on HKEY_USERS\\.DEFAULT if the current user's hive is not loaded. For more information on SIDs, see Security Identifiers .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinreg.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
FormatMessage
Predefined Keys
RegDisablePredefinedCacheEx
Registry Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724854(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 13:20:05