23 references to SafeEventLogReadHandle
System.Diagnostics.EventLog (23)
_generated\0\LibraryImports.g.cs (13)
1863
public static partial bool ClearEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, string lpBackupFileName)
1870
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
1965
public static partial bool GetNumberOfEventLogRecords(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int NumberOfRecords)
1973
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2012
public static partial bool GetOldestEventLogRecord(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int OldestRecord)
2020
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2091
public static partial bool NotifyChangeEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, global::Microsoft.Win32.SafeHandles.SafeWaitHandle hEvent)
2100
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2140
internal static partial global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
OpenEventLog(string lpUNCServerName, string lpSourceName)
2144
global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
__retVal = default;
2147
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
2189
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)
2198
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)
14
public static partial bool ClearEventLog(
SafeEventLogReadHandle
hEventLog, string? lpBackupFileName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetNumberOfEventLogRecords.cs (1)
14
public static partial bool GetNumberOfEventLogRecords(
SafeEventLogReadHandle
hEventLog, out int NumberOfRecords);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetOldestEventLogRecord.cs (1)
14
public static partial bool GetOldestEventLogRecord(
SafeEventLogReadHandle
hEventLog, out int OldestRecord);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.NotifyChangeEventLog.cs (1)
14
public static partial bool NotifyChangeEventLog(
SafeEventLogReadHandle
hEventLog, SafeWaitHandle hEvent);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.OpenEventLog.cs (1)
13
internal static partial
SafeEventLogReadHandle
OpenEventLog(string lpUNCServerName, string lpSourceName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ReadEventLog.cs (1)
19
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);