Class WindowCaptureAPI
- Namespace
- VisioForge.Core
- Assembly
- VisioForge.Core.dll
Class WindowCaptureAPI.
public static class WindowCaptureAPIInheritance
Inherited Members
Methods
GetAncestor(nint, uint)
Gets the ancestor.
public static extern nint GetAncestor(nint hWnd, uint gaFlags)Parameters
Returns
- nint
-
IntPtr.
GetAsyncKeyState(int)
Gets the state of the asynchronous key.
public static extern short GetAsyncKeyState(int vKey)Parameters
vKeyint-
The v key.
Returns
- short
-
System.Int16.
GetParent(nint)
Gets the parent.
public static extern nint GetParent(nint hWnd)Parameters
hWndnint-
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
Returns
- bool
-
trueif successful,falseotherwise.
GetWindowText(nint)
Gets the window text.
public static string GetWindowText(nint hWnd)Parameters
hWndnint-
The HWND.
Returns
- string
-
System.String.