MSGQUEUE

From STX Wiki
Jump to navigationJump to search

MSGQUEUE

This macro stores message in a secondary message queue. It can be used in "sub-message-loops" (e.g. as used for playback, spu-processing or modal dialogs) to queue messages which can not be processed at the time.

While messages are queued in the secondary message queue, the call "getmessage 0" must be used for message retrieval, to avoid to processing of queued messages by GetMessage.

Usage:

MSGQUEUE type name id par

Parameters:
type
The type of sender.
name
The name of the sender.
id
The message id.
par
The message parameters.
Result:

void

Navigation menu

Personal tools