###User Defined Function###
_WinAPI_ClipCursor

###Description###
Confines the cursor to a rectangular area on the screen.

###Syntax###
#include <WinAPIRes.au3>
_WinAPI_ClipCursor ( $tRECT )


###Parameters###
@@ParamTable@@
$tRECT
	$tagRECT structure that contains the screen coordinates of the confining rectangle. If this parameter is 0,
	the cursor is free to move anywhere on the screen.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True.
Failure 	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
The cursor is a shared resource. If an application confines the cursor, it must release the cursor by using
_WinAPI_ClipCursor() before relinquishing control to another application.


###Related###


###See Also###
@@MsdnLink@@ ClipCursor


###Example###
@@IncludeExample@@
