Excel UOGet Window Thread Process Id Method
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
[DllImportAttribute("user32.dll", CharSet = CharSet.Ansi, ExactSpelling = true,
SetLastError = true)]
private static int GetWindowThreadProcessId(
int hWnd,
ref int lpdwProcessId
)VB
<DllImportAttribute("user32.dll", CharSet := CharSet.Ansi, ExactSpelling := true,
SetLastError := true>]
Private Shared Function GetWindowThreadProcessId (
hWnd As Integer,
ByRef lpdwProcessId As Integer
) As Integer