| 
            
              WindowsApiOpenProcess Method
             | 
          
        
        
            Win32 OpenProcess function.
            
        
        Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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