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