13 references to Kernel32
System.Diagnostics.EventLog (13)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs (1)
19return Interop.Kernel32.FreeLibrary(handle);
src\runtime\src\libraries\Common\src\System\Diagnostics\NetFrameworkUtils.cs (4)
87int result = Interop.Kernel32.WaitForSingleObject(mutexIn.SafeWaitHandle, 500); 90case Interop.Kernel32.WAIT_OBJECT_0: 91case Interop.Kernel32.WAIT_ABANDONED: 97case Interop.Kernel32.WAIT_TIMEOUT:
System\Diagnostics\EventLog.cs (4)
886int flags = Interop.Kernel32.FORMAT_MESSAGE_FROM_HMODULE | Interop.Kernel32.FORMAT_MESSAGE_ARGUMENT_ARRAY; 894flags |= Interop.Kernel32.FORMAT_MESSAGE_IGNORE_INSERTS; 907msgLen = Interop.Kernel32.FormatMessage(
System\Diagnostics\EventLogInternal.cs (4)
674hModule = Interop.Kernel32.LoadLibraryExW(dllName, IntPtr.Zero, Interop.Kernel32.LOAD_LIBRARY_AS_DATAFILE); 680hModule = Interop.Kernel32.LoadLibraryExW(dllName, IntPtr.Zero, Interop.Kernel32.LOAD_LIBRARY_AS_DATAFILE);