Kernel32.cs 425 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Runtime.InteropServices;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace TaskbarGroups.NativeMethods
  8. {
  9. /// <summary>
  10. ///
  11. /// </summary>
  12. class Kernel32
  13. {
  14. [DllImport("kernel32.dll")]
  15. public static extern IntPtr OpenProcess(uint dwDesiredAccess, bool bInheritHandle, int dwProcessId);
  16. }
  17. }