DWORD WINAPI ExportNtmsDatabase(
DWORD WINAPI ExportNtmsDatabase(
HANDLE hSession
);
The ExportNtmsDatabase function creates a consistent set of database files in the RSM database directory, %SystemRoot%System32NtmsDataExport.
DWORD WINAPI ExportNtmsDatabase(
HANDLE hSession
);
Parameters
hSession
Handle to the session returned by the OpenNtmsSession function.
Return Values
ERROR_ACCESS_DENIED
Access to one or more RSM objects is denied.
ERROR_DATAbase_FAILURE
The database query or update failed.
ERROR_INVALID_HANDLE
The value specified in the hSession parameter is invalid.
ERROR_NOT_ConNECTED
Unable to connect to the RSM service.
ERROR_SUCCESS
The function was successful.
Remarks
The ExportNtmsDatabase function is used by backup applications to create a copy of the RSM database. The existing files in the %SystemRoot%System32NtmsDataExport directory are overwritten by this function.
QuickInfo
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
import Library: Use ntmsapi.lib.