Share via


NativeMethods.GetWindowThreadProcessId(IntPtr, Int32) Method

Definition

public:
 static int GetWindowThreadProcessId(IntPtr hWnd, [Runtime::InteropServices::Out] int % lpdwProcessId);
public static int GetWindowThreadProcessId (IntPtr hWnd, out int lpdwProcessId);
static member GetWindowThreadProcessId : nativeint * int -> int
Public Shared Function GetWindowThreadProcessId (hWnd As IntPtr, ByRef lpdwProcessId As Integer) As Integer

Parameters

hWnd
IntPtr

nativeint

lpdwProcessId
Int32

Returns

Applies to