术语 | rmendsession |
释义 | RmEndSession 语法: C++ DWORD WINAPI RmEndSession( __in DWORD dwSessionHandle ); RmEndSession功能 完重新启动经理会议。此函数应称为由主安装程序以前开始的函数调用RmStartSession会议。该RmEndSession功能可以说是一个次要安装程序加入到会议再次没有更多的资源必须由二级安装注册。 参数 dwSessionHandle [in] 句柄到现有的重新启动管理会议。 返回值 这是最近收到的错误。该函数可以返回的系统错误在Winerror.h中定义的代码之一。 ValueMeaning ERROR_SUCCESS 0The功能成功完成。 ERROR_SEM_TIMEOUT 121A条重新启动管理器的功能无法得到一个注册表写在规定的时间互斥。重新启动系统的建议,因为重新启动管理器进一步使用很可能会失败。 ERROR_WRITE_FAULT 29An行动是无法读取或写入注册表。 ERROR_OUTOFMEMORY 第14A条重新启动管理器操作无法完成,因为没有足够的内存是可用。 出现ERROR_INVALID_HANDLE 6An无效的句柄传递给函数。会议没有重新启动管理器存在的处理提供。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderRestartManager.h LibraryRstrtmgr.lib DLLRstrtmgr.dll 参见 RmJoinSession RmStartSession 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==RmEndSession Function Ends the Restart Manager session. This function should be called by the primary installer that has previously started the session by calling the RmStartSession function. The RmEndSession function can be called by a secondary installer that is joined to the session once no more resources need to be registered by the secondary installer. Syntax C++ DWORD WINAPI RmEndSession( __in DWORD dwSessionHandle ); Parameters dwSessionHandle [in] A handle to an existing Restart Manager session. Return Value This is the most recent error received. The function can return one of the system error codes that are defined in Winerror.h. ValueMeaning ERROR_SUCCESS 0The function completed successfully. ERROR_SEM_TIMEOUT 121A Restart Manager function could not obtain a Registry write mutex in the allotted time. A system restart is recommended because further use of the Restart Manager is likely to fail. ERROR_WRITE_FAULT 29An operation was unable to read or write to the registry. ERROR_OUTOFMEMORY 14A Restart Manager operation could not complete because not enough memory was available. ERROR_INVALID_HANDLE 6An invalid handle was passed to the function. No Restart Manager session exists for the handle supplied. Requirements Minimum supported clientWindows Vista Minimum supported serverWindows Server 2008 HeaderRestartManager.h LibraryRstrtmgr.lib DLLRstrtmgr.dll See Also RmJoinSession RmStartSession Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa373659(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。