|
WindowHelperGetAncestor Method |
Namespace: Xcalibur.NativeMethods.V2.WindowsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
public static IntPtr GetAncestor(
IntPtr windowHandle,
int flags
)
<DllImportAttribute("user32.dll", CharSet := CharSet.Auto, ExactSpelling := true>]
Public Shared Function GetAncestor (
windowHandle As IntPtr,
flags As Integer
) As IntPtr
public:
[DllImportAttribute(L"user32.dll", CharSet = CharSet::Auto, ExactSpelling = true)]
static IntPtr GetAncestor(
IntPtr windowHandle,
int flags
)
[<DllImportAttribute("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)>]
static member GetAncestor :
windowHandle : IntPtr *
flags : int -> IntPtr
Parameters
- windowHandle IntPtr
- A handle to the window whose ancestor is to be retrieved. If this
parameter is the desktop window, the function returns NULL.
- flags Int32
- The ancestor to be retrieved of type .
Return Value
IntPtrThe return value is the handle to the ancestor window.
See Also