CopyRect  1P5ESHP 

The CopyRect function copies the coordinates of one rectangle to another.

BOOL CopyRect(

    LPRECT lprcDst,

// pointer to structure for destination rectangle

    CONST RECT *lprcSrc

// pointer to structure with source rectangle

   );

 

 

Parameters

lprcDst

Points to the RECTEZENA2 structure that will receive the logical coordinates of the source rectangle.

lprcSrc

Points to the RECT structure whose coordinates are to be copied.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError11C2VS7.

See Also

RECT, SetRect, SetRectEmpty