23 references to SafeEventLogReadHandle
System.Diagnostics.EventLog (23)
_generated\0\LibraryImports.g.cs (13)
1863public static partial bool ClearEventLog(global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle hEventLog, string lpBackupFileName) 1870global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new(); 1965public static partial bool GetNumberOfEventLogRecords(global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle hEventLog, out int NumberOfRecords) 1973global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new(); 2012public static partial bool GetOldestEventLogRecord(global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle hEventLog, out int OldestRecord) 2020global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new(); 2091public static partial bool NotifyChangeEventLog(global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle hEventLog, global::Microsoft.Win32.SafeHandles.SafeWaitHandle hEvent) 2100global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new(); 2140internal static partial global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle OpenEventLog(string lpUNCServerName, string lpSourceName) 2144global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle __retVal = default; 2147global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 2189public static partial bool ReadEventLog(global::Microsoft.Win32.SafeHandles.SafeEventLogReadHandle hEventLog, int dwReadFlags, int dwRecordOffset, byte[] lpBuffer, int nNumberOfBytesRead, out int pnBytesRead, out int pnMinNumberOfBytesNeeded) 2198global::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)
14public static partial bool ClearEventLog(SafeEventLogReadHandle hEventLog, string? lpBackupFileName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetNumberOfEventLogRecords.cs (1)
14public static partial bool GetNumberOfEventLogRecords(SafeEventLogReadHandle hEventLog, out int NumberOfRecords);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetOldestEventLogRecord.cs (1)
14public static partial bool GetOldestEventLogRecord(SafeEventLogReadHandle hEventLog, out int OldestRecord);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.NotifyChangeEventLog.cs (1)
14public static partial bool NotifyChangeEventLog(SafeEventLogReadHandle hEventLog, SafeWaitHandle hEvent);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.OpenEventLog.cs (1)
13internal static partial SafeEventLogReadHandle OpenEventLog(string lpUNCServerName, string lpSourceName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ReadEventLog.cs (1)
19SafeEventLogReadHandle hEventLog,
System\Diagnostics\EventLog.cs (1)
653SafeEventLogReadHandle handle = Interop.Advapi32.OpenEventLog(machineName, logNames[i]);
System\Diagnostics\EventLogInternal.cs (3)
31private SafeEventLogReadHandle? readHandle; 366internal SafeEventLogReadHandle ReadHandle 1074SafeEventLogReadHandle handle = Interop.Advapi32.OpenEventLog(currentMachineName, logname);