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