Mouse related functions

The mouse message buffer can buffer up to 63 unprocessed mouse messages. Each time a mouse message is retrieved, one of the earliest mouse messages will be retrieved from the mouse message buffer. After the mouse message buffer is full, no more mouse messages are received.

The relevant functions and data types are as follows.

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