# User Mouse Input user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

User Defined Function | Description
--- | ---
_WinAPI_GetCapture | Gets the handle to the window (if any) that has captured the mouse
_WinAPI_Mouse_Event | Synthesizes mouse motion and button clicks
_WinAPI_ReleaseCapture | Releases the mouse capture from a window in the current thread and restores normal mouse input processing
_WinAPI_SetCapture | Sets the mouse capture to the specified window belonging to the current thread
_WinAPI_TrackMouseEvent | Posts messages when the mouse pointer leaves a window or hovers over a window for a specified amount of time