Table of Contents

Class WindowCaptureAPI

Namespace
VisioForge.Core
Assembly
VisioForge.Core.dll

Class WindowCaptureAPI.

public static class WindowCaptureAPI

Inheritance

Inherited Members

Methods

GetAncestor(nint, uint)

Gets the ancestor.

public static extern nint GetAncestor(nint hWnd, uint gaFlags)

Parameters

hWnd nint

The h WND.

gaFlags uint

The ga flags.

Returns

nint

IntPtr.

GetAsyncKeyState(int)

Gets the state of the asynchronous key.

public static extern short GetAsyncKeyState(int vKey)

Parameters

vKey int

The v key.

Returns

short

System.Int16.

GetParent(nint)

Gets the parent.

public static extern nint GetParent(nint hWnd)

Parameters

hWnd nint

The h WND.

Returns

nint

IntPtr.

GetWindowOnCursor()

Gets the window on cursor.

public static nint GetWindowOnCursor()

Returns

nint

IntPtr.

GetWindowRect(nint, out Rectangle)

Gets the window rect.

public static bool GetWindowRect(nint hWnd, out Rectangle lpRect)

Parameters

hWnd nint

The h WND.

lpRect Rectangle

The lp rect.

Returns

bool

true if successful, false otherwise.

GetWindowText(nint)

Gets the window text.

public static string GetWindowText(nint hWnd)

Parameters

hWnd nint

The HWND.

Returns

string

System.String.