VisioForge (c) 2025

Search Results for

    Class WindowCaptureAPI

    Class WindowCaptureAPI.

    Inheritance
    object
    WindowCaptureAPI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core
    Assembly: VisioForge.Core.dll
    Syntax
    public static class WindowCaptureAPI

    Methods

    GetAncestor(nint, uint)

    Gets the ancestor.

    Declaration
    public static extern nint GetAncestor(nint hWnd, uint gaFlags)
    Parameters
    Type Name Description
    nint hWnd

    The h WND.

    uint gaFlags

    The ga flags.

    Returns
    Type Description
    nint

    IntPtr.

    GetAsyncKeyState(int)

    Gets the state of the asynchronous key.

    Declaration
    public static extern short GetAsyncKeyState(int vKey)
    Parameters
    Type Name Description
    int vKey

    The v key.

    Returns
    Type Description
    short

    System.Int16.

    GetParent(nint)

    Gets the parent.

    Declaration
    public static extern nint GetParent(nint hWnd)
    Parameters
    Type Name Description
    nint hWnd

    The h WND.

    Returns
    Type Description
    nint

    IntPtr.

    GetWindowOnCursor()

    Gets the window on cursor.

    Declaration
    public static nint GetWindowOnCursor()
    Returns
    Type Description
    nint

    IntPtr.

    GetWindowRect(nint, out Rectangle)

    Gets the window rect.

    Declaration
    public static bool GetWindowRect(nint hWnd, out Rectangle lpRect)
    Parameters
    Type Name Description
    nint hWnd

    The h WND.

    Rectangle lpRect

    The lp rect.

    Returns
    Type Description
    bool

    true if successful, false otherwise.

    GetWindowText(nint)

    Gets the window text.

    Declaration
    public static string GetWindowText(nint hWnd)
    Parameters
    Type Name Description
    nint hWnd

    The HWND.

    Returns
    Type Description
    string

    System.String.