|
WindowsApiGetWindowThreadProcessId Method
|
Win32 GetWindowThreadProcessId function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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