18 references to Interop
Microsoft.Extensions.Hosting.WindowsServices (18)
Internal\Win32.cs (7)
20snapshotHandle = Interop.Kernel32.CreateToolhelp32Snapshot(Interop.Kernel32.SnapshotFlags.Process, 0); 22Interop.Kernel32.PROCESSENTRY32 procEntry = default; 23procEntry.dwSize = sizeof(Interop.Kernel32.PROCESSENTRY32); 24if (Interop.Kernel32.Process32First(snapshotHandle, &procEntry)) 39while (Interop.Kernel32.Process32Next(snapshotHandle, &procEntry)); 47Interop.Kernel32.CloseHandle(snapshotHandle);
LibraryImports.g.cs (11)
71private static partial int PathConf(string path, global::Interop.Sys.PathConfName name) 100static extern unsafe int __PInvoke(byte* __path_native, global::Interop.Sys.PathConfName __name_native); 109internal static partial int FStat(global::System.Runtime.InteropServices.SafeHandle fd, out global::Interop.Sys.FileStatus output) 122fixed (global::Interop.Sys.FileStatus* __output_native = &output) 141static extern unsafe int __PInvoke(nint __fd_native, global::Interop.Sys.FileStatus* __output_native); 150internal static partial int Stat(string path, out global::Interop.Sys.FileStatus output) 163fixed (global::Interop.Sys.FileStatus* __output_native = &output) 182static extern unsafe int __PInvoke(byte* __path_native, global::Interop.Sys.FileStatus* __output_native); 191internal static partial int LStat(string path, out global::Interop.Sys.FileStatus output) 204fixed (global::Interop.Sys.FileStatus* __output_native = &output) 223static extern unsafe int __PInvoke(byte* __path_native, global::Interop.Sys.FileStatus* __output_native);