BelhardTraining.LessonMultithreading.NativeMethods.OpenProcessToken C# (CSharp) Method

OpenProcessToken() private method

private OpenProcessToken ( IntPtr hProcess, UInt32 desiredAccess, SafeTokenHandle &hToken ) : bool
hProcess System.IntPtr
desiredAccess System.UInt32
hToken SafeTokenHandle
return bool
        public static extern bool OpenProcessToken(
            IntPtr hProcess,
            UInt32 desiredAccess,
            out SafeTokenHandle hToken);