GetClipCursor

  BOOL GetClipCursor(lprc)    
  LPRECT lprc; /* address of structure for rectangle */

The GetClipCursor function retrieves the screen coordinates of the rectangle to which the cursor has been confined by a previous call to the ClipCursor function.

Parameters

lprc

Points to a RECT structure that receives the screen coordinates of the confining rectangle. The structure receives the dimensions of the screen if the cursor is not confined to a rectangle. The RECT structure has the following form:

typedef struct tagRECT { /* rc */

LONG left;

LONG top;

LONG right;

LONG bottom;

} RECT;

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.

See Also

ClipCursor, GetCursorPos