Directory Services |
The DsRestoreRegisterComplete function completes a restore operation.
HRESULT DsRestoreRegisterComplete( HBC hbc, HRESULT hrRestoreState );
One of the standard HRESULT success codes; otherwise, a failure code.
Before you restart the domain controller, you must call this function to provide the status of the restore operation. If the status is not successful, the directory service will not start until a valid database has been restored. This function completes the restore operation and allows Active Directory to start.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Ntdsbcli.h.
Library: Use Ntdsbcli.lib.
Restoring Active Directory, Directory Backup Functions, DsRestorePrepare, DsRestoreGetDatabaseLocations, DsRestoreRegister, DsRestoreEnd