win12.hlp (Table of Contents; Topic list)
WinCopyRect (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINRECTANGLES
 
BOOL WinCopyRect(hab, prclDst, prclSrc)
HAB hab;           /* handle of the anchor block                      */
PRECTL prclDst;    /* address of structure with destination rectangle */
PRECTL prclSrc;    /* address of structure with source rectangle      */
 
The WinCopyRect function copies the coordinates of one rectangle to
another.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
prclDst    Points to the RECTL structure that receives a copy of the
           rectangle specified by the prclSrc parameter.
 
prclSrc    Points to the RECTL structure that specifies the source
           rectangle.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
WinSetRectEmpty, RECTL