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