9 references to SafeEventLogWriteHandle
System.Diagnostics.EventLog (9)
_generated\0\LibraryImports.g.cs (5)
2239internal static partial global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle RegisterEventSource(string lpUNCServerName, string lpSourceName) 2243global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle __retVal = default; 2246global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeEventLogWriteHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 2288public 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) 2295global::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)
13internal static partial SafeEventLogWriteHandle RegisterEventSource(string lpUNCServerName, string lpSourceName);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.ReportEvent.cs (1)
16SafeEventLogWriteHandle hEventLog,
System\Diagnostics\EventLogInternal.cs (2)
35private SafeEventLogWriteHandle? writeHandle; 1099SafeEventLogWriteHandle handle = Interop.Advapi32.RegisterEventSource(currentMachineName, sourceName);