Пример #1
0
 public static extern bool ShowWindow(IntPtr hWnd, WinAPI.ShowWindowCommands nCmdShow);
Пример #2
0
 public static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress, uint dwSize, WinAPI.AllocationType flAllocationType, WinAPI.MemoryProtection flProtect);
Пример #3
0
 public static extern IntPtr OpenProcess(WinAPI.ProcessAccessFlags dwDesiredAccess, [MarshalAs(UnmanagedType.Bool)] bool bInheritHandle, int dwProcessId);