Directory Services |
The DsRestoreGetDatabaseLocations function is called both at backup time as well as at restoration time to get the database locations for different types of files.
HRESULT DsRestoreGetDatabaseLocations( HBC hbc, LPWSTR* pszDatabaseLocationList, LPDWORD pcbSize );
This buffer is allocated by the DsRestoreGetDatabaseLocations function and must be freed when it is no longer needed by calling the DsBackupFree function.
The first character of each of the file names contains one of the BFT Constants that identifies the type of name.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Unicode: Implemented as Unicode and ANSI versions.
Header: Declared in Ntdsbcli.h.
Library: Use Ntdsbcli.lib.
DsRestorePrepare, DsBackupFree, Directory Backup Functions, Restoring Active Directory