User32GetWindowRgnBox(SafeHandle, NativeRectangle) Method
Retrieves the dimensions of the tightest bounding rectangle for the window region of a window..
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member GetWindowRgnBox :
hWnd : SafeHandle *
refRect : NativeRectangle byref -> RegionComplexity
No code example is currently available or this language may not be supported.
- hWnd SafeHandle
-
A handle to the window.
- refRect NativeRectangle
-
A NativeRectangle that receives the rectangle dimensions,
in device units relative to the upper-left corner of the window.
RegionComplexity
The return value specifies the type of the region that the function obtains.
To get extended error information, call
GetLastWin32Error.