Compartir a través de


NativeMethods.GetWindowRect 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 lpRect As RECT
Dim returnValue As Integer

returnValue = NativeMethods.GetWindowRect(hWnd, lpRect)

Syntax

'Declaration
Public Shared Function GetWindowRect ( _
    hWnd As IntPtr, _
    ByRef lpRect As RECT _
) As Integer
public static int GetWindowRect (
    IntPtr hWnd,
    ref RECT lpRect
)
public:
static int GetWindowRect (
    IntPtr hWnd, 
    RECT% lpRect
)
public static int GetWindowRect (
    IntPtr hWnd, 
    /** @ref */ RECT lpRect
)

Parameters

  • hWnd
  • lpRect

Return Value

Type: Int32

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
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.