Share via


NativeMethods.GetAncestor Method

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim hWnd As IntPtr
Dim gaFlags As WinUserConstant
Dim returnValue As IntPtr

returnValue = NativeMethods.GetAncestor(hWnd, gaFlags)

Syntax

'Declaration
Public Shared Function GetAncestor ( _
    hWnd As IntPtr, _
    gaFlags As WinUserConstant _
) As IntPtr
public static IntPtr GetAncestor (
    IntPtr hWnd,
    WinUserConstant gaFlags
)
public:
static IntPtr GetAncestor (
    IntPtr hWnd, 
    WinUserConstant gaFlags
)
public static IntPtr GetAncestor (
    IntPtr hWnd, 
    WinUserConstant gaFlags
)
public static function GetAncestor (
    hWnd : IntPtr, 
    gaFlags : WinUserConstant
) : IntPtr

Parameters

  • hWnd
  • gaFlags

Return Value

Type:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

NativeMethods Class
NativeMethods Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk 2.0
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.