|
WindowsApiOpenProcessToken Method
|
Win32 OpenProcessToken function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntax[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool OpenProcessToken(
IntPtr ProcessHandle,
uint DesiredAccess,
ref IntPtr TokenHandle
)
<DllImportAttribute("advapi32.dll", SetLastError := true>]
Public Shared Function OpenProcessToken (
ProcessHandle As IntPtr,
DesiredAccess As UInteger,
ByRef TokenHandle As IntPtr
) As Boolean
public:
[DllImportAttribute(L"advapi32.dll", SetLastError = true)]
static bool OpenProcessToken(
IntPtr ProcessHandle,
unsigned int DesiredAccess,
IntPtr% TokenHandle
)
[<DllImportAttribute("advapi32.dll", SetLastError = true)>]
static member OpenProcessToken :
ProcessHandle : IntPtr *
DesiredAccess : uint32 *
TokenHandle : IntPtr byref -> bool
GSF.Interop.WindowsApi.OpenProcessToken = function(ProcessHandle, DesiredAccess, TokenHandle);
View SourceParameters
- ProcessHandle IntPtr
-
- DesiredAccess UInt32
-
- TokenHandle IntPtr
-
Return Value
Boolean
See Also