[DllImport("kernel32.dll", SetLastError=true)]
static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Int32 bInheritHandle, UInt32 dwProcessId);
Declare Function OpenProcess Lib "kernel32.dll" (ByVal dwDesiredAccess As Uinteger, ByVal bInheritHandle As Integer, ByVal dwProcessId As UInteger) As IntPtr
None.
Do you know one? Please contribute it!
Pass the returned handle to CloseHandle after you are done with it.
Please add some!
Please add some!