网站首页  词典首页

请输入您要查询的函数:

 

术语 regdisablepredefinedcacheex
释义 RegDisablePredefinedCacheEx
语法:
C++
LONG WINAPI RegDisablePredefinedCacheEx(void);
RegDisablePredefinedCacheEx功能
禁用处理所有预定义的注册表缓存处理当前进程。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码。
备注
此函数不能在远程计算机上。
服务,改变以前的模拟应要求使用预定义的任何此函数处理。
例如,任何HKEY_CURRENT_USER的访问后,该函数被调用的打开和关闭操作正在执行的结果就HKEY_USERS \\ SID_of_current_user,或HKEY_USERS \\。默认情况下,如果当前用户的配置单元未加载。小岛屿发展中国家的更多信息,请参阅安全标识符。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinreg.h(头文件:winuser.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
FormatMessage
预定义项
登记职能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==RegDisablePredefinedCacheEx Function
Disables handle caching for all predefined registry handles for the current process.
Syntax
C++
LONG WINAPI RegDisablePredefinedCacheEx(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
This function does not work on a remote computer.
Services that change impersonation should call this function before using any of the predefined handles.
For example, any access of HKEY_CURRENT_USER after this function is called results in open and close 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 Vista
Minimum supported serverWindows Server 2008
HeaderWinreg.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
FormatMessage
Predefined Keys
Registry Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724855(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:15:54