Share via


InsetRect (Windows CE 5.0)

Send Feedback

This macro calls the InflateRect function, passing in the negative value of the specified x- and y-coordinates.

Syntax

BOOLInsetRect(   LPRECTlprc,   intdx,   intdy );

Parameters

  • lprc
    Long pointer to the RECT structure that increases or decreases in size.
  • dx
    Specifies the amount to increase or decrease the rectangle width. This parameter must be negative to increase the width.
  • dy
    Specifies the amount to increase or decrease the rectangle height. This parameter must be negative to increase the height.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Windowsx.h.

See Also

Standard Shell Macros | InflateRect

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.