| 
            
              WindowsApiGetWindowThreadProcessId Method
             | 
          
        
        
            Win32 GetWindowThreadProcessId function.
            
        
        Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax[DllImportAttribute("user32.dll", SetLastError = true)]
public static uint GetWindowThreadProcessId(
	IntPtr hWnd,
	out uint lpdwProcessId
)<DllImportAttribute("user32.dll", SetLastError := true>]
Public Shared Function GetWindowThreadProcessId ( 
	hWnd As IntPtr,
	<OutAttribute> ByRef lpdwProcessId As UInteger
) As UIntegerpublic:
[DllImportAttribute(L"user32.dll", SetLastError = true)]
static unsigned int GetWindowThreadProcessId(
	IntPtr hWnd, 
	[OutAttribute] unsigned int% lpdwProcessId
)
[<DllImportAttribute("user32.dll", SetLastError = true)>]
static member GetWindowThreadProcessId : 
        hWnd : IntPtr * 
        lpdwProcessId : uint32 byref -> uint32 GSF.Interop.WindowsApi.GetWindowThreadProcessId = function(hWnd, lpdwProcessId);
 View SourceParameters
- hWnd  IntPtr
 -  
 - lpdwProcessId  UInt32
 -  
 
Return Value
UInt32
See Also