Click or drag to resize

WindowsApiOpenProcessToken Method

Win32 OpenProcessToken function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool OpenProcessToken(
	IntPtr ProcessHandle,
	uint DesiredAccess,
	ref IntPtr TokenHandle
)
View Source

Parameters

ProcessHandle  IntPtr
 
DesiredAccess  UInt32
 
TokenHandle  IntPtr
 

Return Value

Boolean
See Also