 | JCWindowsManagerGetParent Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.5.251117-542184cb2a0ea61cfe667a6bfacadf83c6adbe4d
Syntax[DllImportAttribute("user32.dll")]
public static IntPtr GetParent(
IntPtr hWnd
)<DllImportAttribute("user32.dll">]
Public Shared Function GetParent (
hWnd As IntPtr
) As IntPtrParameters
- 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