Click or drag to resize

WindowsUtilitiesGetWindowRect Method

Gets the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static RECT GetWindowRect(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
The window handle.

Return Value

Type: RECT
A RECT structure that receives the screen coordinates of the upper-left and lower-right corners of the window.
See Also