closeeventlog (advapi32)
Last changed: -217.6.84.2

.
Summary
Closes a read handle to the specified event log.

C# Signature:

[DllImport("advapi32.dll", SetLastError = true)]
static extern bool CloseEventLog(IntPtr hEventLog);

VB Signature:

Declare Function CloseEventLog Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Use on Windows XP and Windows 2003 Only. For Windows Vista and above (with .NET 4), use EventLogSession class.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation