Skip to content

Latest commit

 

History

History
104 lines (71 loc) · 3.06 KB

nf-winuser-inflaterect.md

File metadata and controls

104 lines (71 loc) · 3.06 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winuser.InflateRect
InflateRect function (winuser.h)
The InflateRect function increases or decreases the width and height of the specified rectangle.
InflateRect
InflateRect function [Windows GDI]
_win32_InflateRect
gdi.inflaterect
winuser/InflateRect
gdi\inflaterect.htm
gdi
9a52fb7f-cd35-4426-8753-c26cebef30d5
12/05/2018
InflateRect, InflateRect function [Windows GDI], _win32_InflateRect, gdi.inflaterect, winuser/InflateRect
winuser.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
User32.lib
User32.dll
Windows
19H1
InflateRect
winuser/InflateRect
c++
APIRef
kbSyntax
DllExport
user32.dll
API-MS-Win-NTUser-Rectangle-l1-1-0.dll
minuser.dll
Ext-MS-Win-NTUser-Rectangle-Ext-l1-1-0.dll
InflateRect

InflateRect function

-description

The InflateRect function increases or decreases the width and height of the specified rectangle. The InflateRect function adds -dx units to the left end and dx to the right end of the rectangle and -dy units to the top and dy to the bottom. The dx and dy parameters are signed values; positive values increase the width and height, and negative values decrease them.

-parameters

-param lprc [in, out]

A pointer to the RECT structure that increases or decreases in size.

-param dx [in]

The amount to increase or decrease the rectangle width. This parameter must be negative to decrease the width.

-param dy [in]

The amount to increase or decrease the rectangle height. This parameter must be negative to decrease the height.

-returns

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

-remarks

Because applications can use rectangles for different purposes, the rectangle functions do not use an explicit unit of measure. Instead, all rectangle coordinates and dimensions are given in signed, logical values. The mapping mode and the function in which the rectangle is used determine the units of measure.

-see-also

IntersectRect

OffsetRect

RECT

Rectangle Functions

Rectangles Overview

UnionRect