Mouse related functions

The mouse message buffer buffers 63 unprocessed mouse messages. Each time GetMouseMsg takes out an oldest message from the mouse message buffer. When the mouse message buffer is full, no mouse messages are received.

The relevant functions and data types are as follow.

Function or data type Description
FlushMouseMsgBuffer Empty the mouse message buffer.
GetMouseMsg Sets a mouse message. if mouse message queue is empty, wait until there is a mouse message.
MouseHit Check for mouse message.
MOUSEMSG The structure of mouse message.