网站首页  词典首页

请输入您要查询的函数:

 

术语 exportntmsdatabase
释义 ExportNtmsDatabase
语法:
C++
DWORD ExportNtmsDatabase(
__in HANDLE hSession
);
ExportNtmsDatabase功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该ExportNtmsDatabase函数创建一个在RSM数据库目录的数据库文件一致的设置。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDAccess到一个或多个罗申对象被拒绝。
ERROR_DATABASE_FAILUREThe数据库查询或更新失败。
ERROR_INVALID_HANDLEThe价值hSession参数中指定无效。
ERROR_NOT_CONNECTEDUnable连接到RSM服务。
的文件ERROR_SHARING_VIOLATIONOne该函数必须写入是开放的。
ERROR_SUCCESSThe功能是成功的。
备注
该ExportNtmsDatabase函数使用的备份应用程序创建一个RSM数据库副本。在导出目录中的任何现有文件将被覆盖了这一功能。
该数据库的默认位置为%SystemRoot%\\ System32 \\ Ntmsdata文件,但这是可以通过定义一个注册表值设置:
HKLM \\系统\\ CurrentControlSet \\控制\\非关税措施\\ Ntmsdata文件
这个函数创建一个子目录出口和地方的档案有一致的。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
数据库备份和恢复功能
ImportNtmsDatabase
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ExportNtmsDatabase Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The ExportNtmsDatabase function creates a consistent set of database files in the RSM database directory.
Syntax
C++
DWORD ExportNtmsDatabase(
__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_ACCESS_DENIEDAccess to one or more RSM objects is denied.
ERROR_DATABASE_FAILUREThe database query or update failed.
ERROR_INVALID_HANDLEThe value specified in the hSession parameter is not valid.
ERROR_NOT_CONNECTEDUnable to connect to the RSM service.
ERROR_SHARING_VIOLATIONOne of the files that the function must write to is open.
ERROR_SUCCESSThe function was successful.

Remarks
The ExportNtmsDatabase function is used by backup applications to create a copy of the RSM database. Any existing files in the Export directory are overwritten by this function.
The default location of the database is%SystemRoot%\\System32\\NtmsData, but this can be set by defining a registry value:
HKLM\\System\\CurrentControlSet\\Control\\NTMS\\NtmsData
This function creates a subdirectory called Export and places the consistent files there.
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
Database Backup and Recovery Functions
ImportNtmsDatabase
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525508(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 11:28:51