6 references to UnsafeNativeMethods
Microsoft.AspNetCore.Server.HttpSys (6)
NativeInterop\SafeLibraryHandle.cs (6)
26IntPtr pfnProc = UnsafeNativeMethods.GetProcAddress(this, lpProcName); 35IntPtr pfnProc = UnsafeNativeMethods.GetProcAddress(this, lpProcName); 40UnsafeNativeMethods.ThrowExceptionForLastWin32Error(); 58SafeLibraryHandle handle = UnsafeNativeMethods.LoadLibraryEx(filename, IntPtr.Zero, LOAD_LIBRARY_SEARCH_SYSTEM32); 61UnsafeNativeMethods.ThrowExceptionForLastWin32Error(); 69return UnsafeNativeMethods.FreeLibrary(handle);