Programmer Guide/Macro Library/MSGQUEUE: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

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

Navigation menu

Personal tools