23 references to SafeEventLogReadHandle
System.Diagnostics.EventLog (23)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (13)
1886
public static partial bool ClearEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, string lpBackupFileName)
1895
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
1993
public static partial bool GetNumberOfEventLogRecords(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int NumberOfRecords)
2003
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2041
public static partial bool GetOldestEventLogRecord(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, out int OldestRecord)
2051
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2123
public static partial bool NotifyChangeEventLog(global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
hEventLog, global::Microsoft.Win32.SafeHandles.SafeWaitHandle hEvent)
2134
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
2173
internal static partial global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
OpenEventLog(string lpUNCServerName, string lpSourceName)
2179
global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
__retVal = default;
2182
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeEventLogReadHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
2223
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)
2234
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
1076
SafeEventLogReadHandle
handle = Interop.Advapi32.OpenEventLog(currentMachineName, logname);