9 references to SafeEventLogWriteHandle
System.Diagnostics.EventLog (9)
_generated\0\LibraryImports.g.cs (5)
2229internal static partial global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle RegisterEventSource(string lpUNCServerName, string lpSourceName) 2233global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle __retVal = default; 2236global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 2277public static partial bool ReportEvent(global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle hEventLog, short wType, ushort wcategory, uint dwEventID, byte[] lpUserSid, short wNumStrings, int dwDataSize, nint lpStrings, byte[] lpRawData) 2284global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle>.ManagedToUnmanagedIn __hEventLog_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.RegisterEventSource.cs (1)
12internal static partial SafeEventLogWriteHandle RegisterEventSource(string lpUNCServerName, string lpSourceName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ReportEvent.cs (1)
15SafeEventLogWriteHandle hEventLog,
System\Diagnostics\EventLogInternal.cs (2)
35private SafeEventLogWriteHandle? writeHandle; 1099SafeEventLogWriteHandle handle = Interop.Advapi32.RegisterEventSource(currentMachineName, sourceName);