void CopyRect(lprcDst, lprcSrc) | |||||
RECT FAR* lprcDst; | /* address of struct. for destination rect. | */ | |||
const RECT FAR* lprcSrc; | /* address of struct. with source rect. | */ |
The CopyRect function copies the dimensions of one rectangle to another.
lprcDst
Points to the RECT structure that will receive the dimensions of the source rectangle. The RECT structure has the following form:
typedef struct tagRECT { /* rc */
int left;
int top;
int right;
int bottom;
} RECT;
For a full description of this structure, see the Microsoft Windows Programmer's Reference, Volume 3.
lprcSrc
Points to the RECT structure whose dimensions are to be copied.
This function does not return a value.