术语 | cleanntmsdrive |
释义 | CleanNtmsDrive 语法: C++ DWORD CleanNtmsDrive( __in HANDLE hSession, __in LPNTMS_GUID lpDriveId ); CleanNtmsDrive功能 [移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。] 排队的CleanNtmsDrive函数为指定的驱动器清洗清洗的要求。 参数 hSession [in] 处理由OpenNtmsSession函数返回的会议。 lpDriveId [in] 驱动器的唯一标识符来清洗。 返回值 这个函数返回下列值之一。 ValueMeaning ERROR_ACCESS_DENIEDNTMS_CONTROL_ACCESS到库被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。 ERROR_DATABASE_FAILUREThe数据库无法访问或已损坏。 ERROR_DATABASE_FULLThe数据库已满。 ERROR_INVALID_DRIVEThe驱动器号是无效的。 ERROR_INVALID_HANDLEThe会话句柄丢失或无效。 ERROR_INVALID_LIBRARYThe的驱动库是无效的。 ERROR_INVALID_PARAMETERThe驱动器ID丢失。 ERROR_NOT_ENOUGH_MEMORYAn分配在处理过程中出现故障。 ERROR_RESOURCE_DISABLEDThe驱动器或库未启用。 ERROR_SUCCESSThe清洗是排队成功。 备注 如果驱动器您在CleanNtmsDrive功能选择是一个独立的驱动器,驱动器被标记为清洗的时间是在RSM数据库指出。 排队清洗时删除请求重新启动该服务。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 客户端 支持 Windows Vista 服务器 支持 Windows Server 2008 HeaderNtmsapi.h LibraryNtmsapi.lib DLLNtmsapi.dll 参见 清洁管理职能 EjectNtmsCleaner InjectNtmsCleaner ReleaseNtmsCleanerSlot ReserveNtmsCleanerSlot 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==CleanNtmsDrive Function [ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.] The CleanNtmsDrive function queues a cleaning request for the specified drive for cleaning. Syntax C++ DWORD CleanNtmsDrive( __in HANDLE hSession, __in LPNTMS_GUID lpDriveId ); Parameters hSession [in] Handle to the session returned by the OpenNtmsSession function. lpDriveId [in] Unique identifier of the drive to be cleaned. 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_DATABASE_FAILUREThe database is inaccessible or damaged. ERROR_DATABASE_FULLThe database is full. ERROR_INVALID_DRIVEThe drive ID is not valid. ERROR_INVALID_HANDLEThe session handle is missing or is not valid. ERROR_INVALID_LIBRARYThe library for the drive is not valid. ERROR_INVALID_PARAMETERThe drive ID is missing. ERROR_NOT_ENOUGH_MEMORYAn allocation failure occurred during processing. ERROR_RESOURCE_DISABLEDThe drive or the library is not enabled. ERROR_SUCCESSThe cleaning was queued successfully. Remarks If the drive you selected in the CleanNtmsDrive function is a stand-alone drive, the drive is marked as cleaned and the time is noted in the RSM Database . Queued cleaning requests are deleted when the service is restarted. 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 EjectNtmsCleaner InjectNtmsCleaner ReleaseNtmsCleanerSlot ReserveNtmsCleanerSlot Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/bb525482(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。