Platform SDK: Removable Storage Manager |
The ImportNtmsDatabase function causes RSM to import the database files from the database Export directory at the next restart of the RSM.
DWORD WINAPI ImportNtmsDatabase( HANDLE hSession );
Value | Meaning |
---|---|
ERROR_ACCESS_DENIED | Access to at least one RSM object 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. |
ERROR_SUCCESS | The function was successful. |
The ImportNtmsDatabase function is used by backup applications during disaster recovery.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntmsapi.h.
Library: Use Ntmsapi.lib.