Error Logging Functions

The error logging functions are obsolete on Windows NT. Windows NT uses an integrated event logging mechanism for reporting both audits and errors. The NetAudit and NetErrorLog functions are provided to access LAN Manager 2.x logs. They will report ERROR_NOT_SUPPORTED if called on a Windows NT system.

The error logging functions are:

NetErrorLogClear
NetErrorLogRead

The NetErrorLogRead function reads entries from the error log; and NetErrorLogClear clears the error log and, optionally, saves the entries in a backup file.