网站首页  词典首页

请输入您要查询的函数:

 

术语 deletentmslibrary
释义 DeleteNtmsLibrary
语法:
C++
DWORD DeleteNtmsLibrary(
__in HANDLE hSession,
__in LPNTMS_GUID lpLibraryId
);
DeleteNtmsLibrary功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该DeleteNtmsLibrary函数删除一个库,所有的在库中的设备从RSM数据库。在库的所有媒体被移到脱机库。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpLibraryId [in]
库的唯一标识符被删除。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS到库被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。
ERROR_DATABASE_FAILUREThe数据库无法访问或已损坏。
ERROR_DATABASE_FULLThe数据库已满。
ERROR_INVALID_HANDLEThe会话句柄丢失或无效。
ERROR_INVALID_LIBRARYThe库标识符是无效的。
ERROR_INVALID_PARAMETERThere是一个标识符缺少的媒体。
ERROR_NOT_ENOUGH_MEMORYThere是在处理过程中分配失败。
ERROR_SUCCESSThe功能是成功的。
备注
如果被引用的DeleteNtmsLibrary函数库包含媒体,媒体被移到脱机库。
您可以使用DeleteNtmsLibrary删除不再连接到罗申服务器库。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
库控制功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==DeleteNtmsLibrary Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The DeleteNtmsLibrary function deletes a library, and all the devices contained in the library, from the RSM database. All media in the library is moved to the offline library.
Syntax
C++
DWORD DeleteNtmsLibrary(
__in HANDLE hSession,
__in LPNTMS_GUID lpLibraryId
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpLibraryId [in]
Unique identifier of the library to be deleted.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS to the library is denied. Other security errors are also possible, but they would indicate a security subsystem error.
ERROR_DATABASE_FAILUREThe database is inaccessible or damaged.
ERROR_DATABASE_FULLThe database is full.
ERROR_INVALID_HANDLEThe session handle is missing or is not valid.
ERROR_INVALID_LIBRARYThe library identifier is not valid.
ERROR_INVALID_PARAMETERThere is a missing media identifier.
ERROR_NOT_ENOUGH_MEMORYThere was an allocation failure during processing.
ERROR_SUCCESSThe function was successful.

Remarks
If the library referenced by the DeleteNtmsLibrary function contains media, the media is moved to the offline library.
You can use DeleteNtmsLibrary to remove libraries that are no longer connected to the RSM server.
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
Library Control Functions
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525491(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:24:00