| 
            
              WindowsApiOpenProcess Method
             | 
          
        
        
            Win32 OpenProcess function.
            
        
        Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
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 IntPtrpublic:
[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