You can limit the mouse cursor with lite-c by using ClipCursor and the Engine window properties (pos/size).
All these and many other function are defined in windows.h.

A reference of the windows api can be found here.

No example for clipping the cursor - but it's easy...

mercuryus