CopyRect

Syntax

int CopyRect(lpDestRect,lpSourceRect)

This function copies the rectangle pointed to by the lpSourceRect parameter to the RECT data structure pointed to by the lpDestRect parameter.

Parameter Type/Description  

lpDestRect LPRECT Points to a RECT data structure.  
lpSourceRect LPRECT Points to a RECT data structure.  

Return Value

Although the CopyRect function return type is an integer, the return value is not used and has no meaning.