Compartir a través de


CopyRect (Windows CE 5.0)

Send Feedback

This function copies the coordinates of one rectangle to another.

BOOLCopyRect(LPRECTlprcDst, constRECT* lprcSrc);

Parameters

  • lprcDst
    Long pointer to the RECT structure that receives the logical coordinates of the source rectangle.
  • lprcSrc
    Long pointer to the RECT structure whose coordinates are to be copied.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Rectapi.lib.

See Also

SetRect | SetRectEmpty | RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.