Function:
GetClipCursor(lpRect)

Description:
Finds the current confinement rectangle of the mouse cursor. If there is no apparent confinement rectangle, it is actually the size of the screen.

Parameters:
lpRect: Points to the RECT structure that receives the coordinates of the confinement rectangle.

Returns:
Returns 1 if successful, or 0 if an error occurred.

Example:
Click on the calc icon to view a sample of the GetClipCursor function.