|
WindowsApiOpenProcess Method
|
Win32 OpenProcess function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntax[DllImportAttribute("kernel32.dll", SetLastError = true)]
public static IntPtr OpenProcess(
WindowsApiProcessAccessTypes dwDesiredAccess,
bool bInheritHandle,
uint dwProcessId
)
<DllImportAttribute("kernel32.dll", SetLastError := true>]
Public Shared Function OpenProcess (
dwDesiredAccess As WindowsApiProcessAccessTypes,
bInheritHandle As Boolean,
dwProcessId As UInteger
) As IntPtr
public:
[DllImportAttribute(L"kernel32.dll", SetLastError = true)]
static IntPtr OpenProcess(
WindowsApiProcessAccessTypes dwDesiredAccess,
bool bInheritHandle,
unsigned int dwProcessId
)
[<DllImportAttribute("kernel32.dll", SetLastError = true)>]
static member OpenProcess :
dwDesiredAccess : WindowsApiProcessAccessTypes *
bInheritHandle : bool *
dwProcessId : uint32 -> IntPtr
GSF.Interop.WindowsApi.OpenProcess = function(dwDesiredAccess, bInheritHandle, dwProcessId);
View SourceParameters
- dwDesiredAccess WindowsApiProcessAccessTypes
-
- bInheritHandle Boolean
-
- dwProcessId UInt32
-
Return Value
IntPtr
See Also