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