Gdi32GetClipBox(SafeHandle, NativeRectangle) Method
Retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device.
The visible area is defined by the current clipping region or clip path, as well as any overlapping windows.
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.
No code example is currently available or this language may not be supported.
- hdc SafeHandle
-
A handle to the device context.
- refRect NativeRectangle
-
A pointer to a NativeRectangle structure that is to receive the rectangle dimensions, in logical units.
ClipBoxComplexity
If the function succeeds, the return value specifies the clipping box's complexity.