MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / OpenProcess

Method OpenProcess

src/Squirrel/NativeMethods.cs:67–71  ·  view source on GitHub ↗
(
            ProcessAccess processAccess,
            bool bInheritHandle,
            int processId)

Source from the content-addressed store, hash-verified

65 [In] [MarshalAs(UnmanagedType.U4)] ref int nSize);
66
67 [DllImport("kernel32.dll", SetLastError=true)]
68 internal static extern IntPtr OpenProcess(
69 ProcessAccess processAccess,
70 bool bInheritHandle,
71 int processId);
72
73 [DllImport("kernel32.dll", SetLastError = true)]
74 internal static extern bool CloseHandle(IntPtr hHandle);

Callers 2

waitForParentToExitMethod · 0.80
EnumerateProcessesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected