Desktop Functions: Smart Device Functions:
|
Search Results for "OpenEventLog" in [All]advapi32
static extern IntPtr OpenEventLog(string UNCServerName, string sourceName);
IntPtr logHandle = OpenEventLog(Environment.MachineName, eventLogName); hEventLog is the handle for the log you wish to operate on, this handle can be got from OpenEventLog if needed.
hEventLog = NativeMethods.OpenEventLog(IntPtr.Zero, logName); 3: OpenEventLog
|