public static extern IntPtr OpenProcess(MemAPI.ProcessAccessFlags dwDesiredAccess, bool bInheritHandle, int dwProcessId);
public static extern IntPtr OpenProcess(MemAPI.ProcessAccessFlags dwDesiredAccess, [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle, int dwProcessId);