术语 | deletentmsmediapool |
释义 | DeleteNtmsMediaPool 语法: C++ DWORD DeleteNtmsMediaPool( __in HANDLE hSession, __in LPNTMS_GUID lpPoolId ); DeleteNtmsMediaPool功能 [移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。] 该DeleteNtmsMediaPool函数删除指定的应用程序媒体池中。 参数 hSession [in] 处理由OpenNtmsSession函数返回的会议。 lpPoolId [in] 唯一标识符的媒体池。 返回值 这个函数返回下列值之一。 ValueMeaning ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS媒体池被拒绝。其他安全错误也是可能的,但它们表明安全子系统的错误。 Windows XP/2000操作系统:媒体池NTMS_CONTROL_ACCESS被拒绝。其他安全错误也是可能的,但它们表明安全子系统的错误。 ERROR_DATABASE_FAILUREThe数据库无法访问或已损坏。 ERROR_INVALID_HANDLEThe会话句柄丢失或无效。 ERROR_INVALID_MEDIA_POOLUnable打开现有的媒体池,或试图删除自由,import ,或者无法识别的媒体池。 ERROR_INVALID_PARAMETERThe媒体池ID丢失。 ERROR_NOT_EMPTYThe媒体池必须是空的被删除。 ERROR_NOT_ENOUGH_MEMORYAn分配在处理过程中出现故障。 ERROR_SUCCESSThe功能是成功的。 备注 只有池空媒体可以删除与DeleteNtmsMediaPool功能。 免费,不被认可,导入媒体池的管理是由丹参,不能与DeleteNtmsMediaPool删除。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 客户端 支持 Windows Vista 服务器 支持 Windows Server 2008 HeaderNtmsapi.h LibraryNtmsapi.lib DLLNtmsapi.dll 参见 媒体服务函数 CreateNtmsMediaPool MoveToNtmsMediaPool 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==DeleteNtmsMediaPool Function [ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.] The DeleteNtmsMediaPool function deletes the specified application media pool. Syntax C++ DWORD DeleteNtmsMediaPool( __in HANDLE hSession, __in LPNTMS_GUID lpPoolId ); Parameters hSession [in] Handle to the session returned by the OpenNtmsSession function. lpPoolId [in] Unique identifier of the media pool. Return Value This function returns one of the following values. ValueMeaning ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS to the media pool is denied. Other security errors are also possible, but they indicate a security subsystem error. Windows XP/2000: NTMS_CONTROL_ACCESS to the media pool is denied. Other security errors are also possible, but they indicate a security subsystem error. ERROR_DATABASE_FAILUREThe database is inaccessible or damaged. ERROR_INVALID_HANDLEThe session handle is missing or is not valid. ERROR_INVALID_MEDIA_POOLUnable to open existing media pool, or attempting to delete free, import, or unrecognized media pools. ERROR_INVALID_PARAMETERThe media pool ID is missing. ERROR_NOT_EMPTYThe media pool must be empty to be deleted. ERROR_NOT_ENOUGH_MEMORYAn allocation failure occurred during processing. ERROR_SUCCESSThe function was successful. Remarks Only empty media pools can be deleted with the DeleteNtmsMediaPool function. Free, unrecognized, and import media pools are managed by RSM and cannot be deleted with DeleteNtmsMediaPool. 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 Media Services Functions CreateNtmsMediaPool MoveToNtmsMediaPool Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/bb525493(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。