23 references to SafeEventLogReadHandle
System.Diagnostics.EventLog (23)
_generated\0\LibraryImports.g.cs (13)
1862
public static partial bool ClearEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, string lpBackupFileName)
1869
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
1961
public static partial bool GetNumberOfEventLogRecords(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int NumberOfRecords)
1969
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2007
public static partial bool GetOldestEventLogRecord(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int OldestRecord)
2015
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2084
public static partial bool NotifyChangeEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, global::Microsoft.Win32.SafeHandles.SafeWaitHandle hEvent)
2093
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2132
internal static partial global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
OpenEventLog(string lpUNCServerName, string lpSourceName)
2136
global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
__retVal = default;
2139
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
2180
public static partial bool ReadEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, int dwReadFlags, int dwRecordOffset, byte[] lpBuffer, int nNumberOfBytesRead, out int pnBytesRead, out int pnMinNumberOfBytesNeeded)
2189
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ClearEventLog.cs (1)
13
public static partial bool ClearEventLog(
SafeEventLogReadHandle
hEventLog, string? lpBackupFileName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetNumberOfEventLogRecords.cs (1)
13
public static partial bool GetNumberOfEventLogRecords(
SafeEventLogReadHandle
hEventLog, out int NumberOfRecords);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetOldestEventLogRecord.cs (1)
13
public static partial bool GetOldestEventLogRecord(
SafeEventLogReadHandle
hEventLog, out int OldestRecord);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.NotifyChangeEventLog.cs (1)
13
public static partial bool NotifyChangeEventLog(
SafeEventLogReadHandle
hEventLog, SafeWaitHandle hEvent);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.OpenEventLog.cs (1)
12
internal static partial
SafeEventLogReadHandle
OpenEventLog(string lpUNCServerName, string lpSourceName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ReadEventLog.cs (1)
18
SafeEventLogReadHandle
hEventLog,
System\Diagnostics\EventLog.cs (1)
653
SafeEventLogReadHandle
handle = Interop.Advapi32.OpenEventLog(machineName, logNames[i]);
System\Diagnostics\EventLogInternal.cs (3)
31
private
SafeEventLogReadHandle
? readHandle;
366
internal
SafeEventLogReadHandle
ReadHandle
1074
SafeEventLogReadHandle
handle = Interop.Advapi32.OpenEventLog(currentMachineName, logname);