cUNCServerName
(optional)
Points to a string that specifies the Universal Naming Convention (UNC) name of the server
on
which the event log is to be opened. If this parameter is NIL, the log is opened on the
local computer.
cFileName
points to a string that specifies the name of the backup file.
The backup filename may contain a server name to open a backup file on a remote server
(in this case, the cUNCServerName parameter must be NIL)
- Sample
#include "xbevent.ch"
local nEvtHandle := 0
local cError := space(100)
//
// open a saved Eventlog-File
//
if ((nEvtHandle := XbOpenBackupEventLog(, "SaveLog.Evt")) <= 0)
XbEventGetLastError(@cError)
? "Error :", cError
endif