术语 | closentmssession |
释义 | CloseNtmsSession 语法: C++ DWORD CloseNtmsSession( __in HANDLE hSession ); CloseNtmsSession功能 [移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。] 该CloseNtmsSession函数关闭指定的罗申会议。 参数 hSession [in] 处理由OpenNtmsSession函数返回的会议。 返回值 这个函数返回下列值之一。 ValueMeaning ERROR_CONNECTION_UNAVAILConnection的罗申服务器或域不可用。 ERROR_INVALID_HANDLEThe价值hSession参数指定为NULL或不是有效的会话句柄。 备注 该CloseNtmsSession函数释放所有资源。使用非公开会议,处理返回一个错误代码。 如果对CloseNtmsSession函数调用的应用程序时出现了一位杰出的同步请求(例如,安装或卸载的要求),请求变直和取消。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 客户端 支持 Windows Vista 服务器 支持 Windows Server 2008 HeaderNtmsapi.h LibraryNtmsapi.lib DLLNtmsapi.dll 参见 会话管理功能 OpenNtmsSession 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==CloseNtmsSession Function [ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.] The CloseNtmsSession function closes the specified RSM session. Syntax C++ DWORD CloseNtmsSession( __in HANDLE hSession ); Parameters hSession [in] Handle to the session returned by the OpenNtmsSession function. Return Value This function returns one of the following values. ValueMeaning ERROR_CONNECTION_UNAVAILConnection to the RSM server or domain is not available. ERROR_INVALID_HANDLEThe value specified in the hSession parameter is NULL or is not a valid session handle. Remarks The CloseNtmsSession function releases all resources. Use of a closed session handle returns an error code. If a call to the CloseNtmsSession function occurs while an application has an outstanding synchronous request (for example, a mount or dismount request), the request is unwound and canceled. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server End of client supportWindows Vista End of server supportWindows Server 2008 HeaderNtmsapi.h LibraryNtmsapi.lib DLLNtmsapi.dll See Also Session Management Functions OpenNtmsSession Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/bb525484(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。