Compartilhar via


InsetRect (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL InsetRect( 
  LPRECT lprc, 
  int dx, 
  int dy 
);

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 Value

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

Requirements

Header windowsx.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

GDI Macros
Standard Shell Macros
InflateRect