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