TEventLog.UnRegisterMessageFile function
Unregister the message file (needed on windows only).
Declaration
function UnRegisterMessageFile: Boolean; virtualFunction result
True if the message file was successfully unregistered, false if an error occurred.
Description
UnRegisterMessageFile can be used to unregister a message file
previously registered with
RegisterMessageFile. This
function is usable only on windows, it has no effect on other platforms.
Note that windows locks the registered message file while viewing messages, so
unregistering helps to avoid file locks while event viewer is open.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
