Platform SDK: Active Directory, ADSI, and Directory Services |
The DsBackupOpenFile function opens the remote file to back up and performs whatever client and server operations are necessary to prepare for the backup.
HRESULT DsBackupOpenFile( HBC hbc, LPCWSTR szAttachmentName, DWORD cbReadHintSize, LARGE_INTEGER *pliFileSize );
One of the standard HRESULT success codes; otherwise, a failure code.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntdsbcli.h.
Library: Included as a resource in Ntdsbcli.dll.
Unicode: Implemented as Unicode and ANSI versions on Windows 2000.
Backing Up and Restoring Active Directory, Directory Backup Functions, DsBackupRead