dispatch_message


parameter dispatch_message(const queue* const queue_message)

This function passes a message to its target window procedure.

Parameters

const queue* const queue_message

A pointer to the message to be dispatched.

Return

parameter

The value returned by the target window procedure.

Notes

This function is typically called after reading the message from the queue.

The value returned by the target window procedure is dependent on which message is being processed (see structure message).

If a timer message with a non-null integer parameter is being dispatched, the integer parameter points to a timer function which is called instead of the associated window procedure.