The OpenBackupEventLog function opens a handle of a backup event log. This handle can be used with the BackupEventLog function.
HANDLE OpenBackupEventLog(
LPCTSTR lpUNCServerName, |
// backup file server name |
LPCTSTR lpFileName |
// backup filename |
); |
If the function succeeds, the return value is a handle of the backup event log.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
If the backup filename specifies a remote server, lpUNCServerName must be NULL. You cannot use this function to open a file on a remote server.
Comments: