Programmer Guide/Macro Library/MSGQUEUE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
|||
Line 4: | Line 4: | ||
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. | 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 "<code>getmessage 0</code>" must be used for messages retrival, to avoid to processing of queued messages by <code>GetMessage</code>. | While messages are queued in the secondary message queue, the call "<code>getmessage 0</code>" must be used for messages retrival, to avoid to processing of queued messages by <code>[[Programmer_Guide/Macro_Library/GETMESSAGE|GetMessage]]</code>. | ||
=====Usage:===== | =====Usage:===== |
Revision as of 12:06, 14 June 2019
Contents
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 messages retrival, 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