 | JCWindowsManagerGetAncestor Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.4.250922-152ba6ff9edce5bce8e7bf5a86e1098f7e200363
Syntax[DllImportAttribute("user32", CharSet = CharSet.Ansi)]
public static IntPtr GetAncestor(
IntPtr hwnd,
uint gaFlags
)
<DllImportAttribute("user32", CharSet := CharSet.Ansi>]
Public Shared Function GetAncestor (
hwnd As IntPtr,
gaFlags As UInteger
) As IntPtr
Parameters
- hwnd IntPtr
- A handle to the window whose ancestor is to be retrieved. If this parameter is the desktop window, the function returns Zero.
- gaFlags UInt32
- The ancestor to be retrieved.
Return Value
IntPtrThe return value is the handle to the ancestor window.
See Also