Sets the Windows message processing mode for sysUpdateEvents.
Takes mode (EVENT_IMMEDIATE or EVENT_WAIT).
Returns nothing.
System
Parameters & Returns
Parameters
modeInt
Returns
Void
Quick Summary
Sets the Windows message processing mode for sysUpdateEvents.
Takes mode (EVENT_IMMEDIATE or EVENT_WAIT).
Returns nothing.
Technical Exegesis...
Configures how sysUpdateEvents processes Windows messages. Mode must be either EVENT_IMMEDIATE or EVENT_WAIT. If mode is any other value, the function does nothing.
EVENT_IMMEDIATE: Processes all available messages without blocking (uses PeekMessage with PM_REMOVE). Returns immediately if no messages are pending. Best for real-time applications and games. EVENT_WAIT: Waits for at least one message before processing (uses GetMessage). Blocks until a message arrives.
Configures how sysUpdateEvents processes Windows messages. Mode must be either EVENT_IMMEDIATE or EVENT_WAIT. If mode is any other value, the function does nothing.
EVENT_IMMEDIATE: Processes all available messages without blocking (uses PeekMessage with PM_REMOVE). Returns immediately if no messages are pending. Best for real-time applications and games. EVENT_WAIT: Waits for at least one message before processing (uses GetMessage). Blocks until a message arrives. Better for event-driven applications that don't need continuous updates.