This function returns to the caller the current number of queued elements in the mouse event queue, and the maximum number of elements allowed in a mouse event queue.