|
WindowsApiGetWindowThreadProcessId Method
|
Win32 GetWindowThreadProcessId function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
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 UInteger
public:
[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