 | JCWindowsManagerGetParent Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.1.250804-0dc7412e055dac2f3fe16fdf50c3d56439e41472
Syntax[DllImportAttribute("user32.dll")]
public static IntPtr GetParent(
IntPtr hWnd
)
<DllImportAttribute("user32.dll">]
Public Shared Function GetParent (
hWnd As IntPtr
) As IntPtr
Parameters
- hWnd IntPtr
- A handle to the window whose parent window handle is to be retrieved.
Return Value
IntPtrIf the window is a child window, the return value is a handle to the parent window. If the function fails, the return value is
Zero. To get extended error information, call
GetLastError.
See Also