User32InflateRect(NativeRectangle, Int32, Int32) Method
Increases or decreases the width and height of the specified
NativeRectangle.
The
InflateRect(NativeRectangle, Int32, Int32) function adds 'x' units to the left and right ends of the
NativeRectangle
and 'y' units to the top and bottom.
The
x and
y parameters are signed values;
positive values increase the width and height, and negative values decrease them.
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")]
public static bool InflateRect(
out NativeRectangle refRect,
int x,
int y
)
<DllImportAttribute("User32.dll">]
Public Shared Function InflateRect (
<OutAttribute> ByRef refRect As NativeRectangle,
x As Integer,
y As Integer
) As Boolean
Dim refRect As NativeRectangle
Dim x As Integer
Dim y As Integer
Dim returnValue As Boolean
returnValue = User32.InflateRect(refRect,
x, y)
public:
[DllImportAttribute(L"User32.dll")]
static bool InflateRect(
[InAttribute] [OutAttribute] NativeRectangle% refRect,
[InAttribute] int x,
[InAttribute] int y
)
[<DllImportAttribute("User32.dll")>]
static member InflateRect :
refRect : NativeRectangle byref *
x : int *
y : int -> bool
No code example is currently available or this language may not be supported.
- refRect NativeRectangle
-
A pointer to the NativeRectangle structure to be increased or decreased.
- x Int32
-
The amount to increase or decrease the NativeRectangle width.
This parameter must be negative to decrease the width.
- y Int32
-
The amount to increase or decrease the NativeRectangle height.
This parameter must be negative to decrease the height.
Boolean
If the function succeeds, the return value is
.
If the function fails, the return value is
.