网站首页  词典首页

请输入您要查询的函数:

 

术语 releasentmscleanerslot
释义 ReleaseNtmsCleanerSlot
语法:
C++
DWORD ReleaseNtmsCleanerSlot(
__in HANDLE hSession,
__in LPNTMS_GUID lpLibrary
);
ReleaseNtmsCleanerSlot功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该ReleaseNtmsCleanerSlot功能消除了一个清洗磁带现有插槽保留。该槽可以用来进行数据墨盒。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpLibrary [in]
库的唯一标识符释放清洁插槽。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_CONTROL_ACCESS到库被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。
ERROR_DEVICE_NOT_AVAILABLEThe库当前未连接。
ERROR_INVALID_HANDLEThe价值hSession参数中指定无效。
ERROR_NOT_CONNECTEDUnable连接到RSM服务。
ERROR_NO_SLOT_RESERVEDThis库已成为一个更清洁墨盒没有预留插槽。
ERROR_SLOT_FULLThe库有一个保留清洁墨盒槽槽,但包含一个清洁墨盒(插槽必须是空的)。使用EjectNtmsCleaner函数弹出一个清洁墨盒。
ERROR_SLOT_NOT_PRESENTThe库有一个保留清洁磁带插槽,但指定的插槽目前没有在库安装。此错误可能发生,如果至少一个杂志是从库中失踪。
ERROR_SUCCESSThe功能排队成功。
备注
对于ReleaseNtmsCleanerSlot功能要取得成功,必须存在槽和空。库还必须清洁预留插槽。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
清洁管理职能
CleanNtmsDrive
EjectNtmsCleaner
InjectNtmsCleaner
ReserveNtmsCleanerSlot
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ReleaseNtmsCleanerSlot Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The ReleaseNtmsCleanerSlot function removes an existing slot reservation for a cleaning cartridge. The slot can then be used for data cartridges.
Syntax
C++
DWORD ReleaseNtmsCleanerSlot(
__in HANDLE hSession,
__in LPNTMS_GUID lpLibrary
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpLibrary [in]
Unique identifier of the library to release the cleaner slot.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_CONTROL_ACCESS to the library is denied. Other security errors are also possible, but they would indicate a security subsystem error.
ERROR_DEVICE_NOT_AVAILABLEThe library is not currently connected.
ERROR_INVALID_HANDLEThe value specified in the hSession parameter is not valid.
ERROR_NOT_CONNECTEDUnable to connect to the RSM service.
ERROR_NO_SLOT_RESERVEDThis library has no slot reserved for a cleaner cartridge.
ERROR_SLOT_FULLThe library has a reserved cleaner cartridge slot but the slot contains a cleaner cartridge (the slot must be empty). Use the EjectNtmsCleaner function to eject a cleaner cartridge.
ERROR_SLOT_NOT_PRESENTThe library has a reserved cleaner cartridge slot, but the specified slot is currently not installed in the library. This error can occur if at least one magazine is missing from the library.
ERROR_SUCCESSThe function was queued successfully.

Remarks
For the ReleaseNtmsCleanerSlot function to succeed, the slot must be present and empty. The library must also have a slot reserved for cleaning.
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
Cleaner Management Functions
CleanNtmsDrive
EjectNtmsCleaner
InjectNtmsCleaner
ReserveNtmsCleanerSlot
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb540724(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:26:35