win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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