3.3.5.1.1 Constructing a Drawing and Desktop Mode Changes Order
When the Desktop Window Manager transitions to composed mode drawing (triggering the Desktop Window Manager startup message), the compose desktop mediator MUST create the TS_COMPDESK_TOGGLE message with the eventType set to 0x03 (REDIRMODE_COMPOSITION_ON).
When the compose desktop mediator is in composed mode drawing and the desktop switches to a non-composed mode desktop, the compose desktop mediator MUST create the TS_COMPDESK_TOGGLE message with the eventType field set to 0x05 (REDIRMODE_DWM_DESK_LEAVE).
When the Desktop Window Manager is in composed mode drawing and the desktop switches from a non-composed mode desktop to the composed mode desktop, the compose desktop mediator MUST create the TS_COMPDESK_TOGGLE message with the eventType set to 0x04 (REDIRMODE_DWM_DESK_ENTER).
When the Desktop Window Manager transitions to non-composed mode drawing (triggering the Desktop Window Manager shutdown message), the protocol compose desktop mediator MUST create the TS_COMPDESK_TOGGLE message with the eventType set to 0x00 (REDIRMODE_COMPOSITION_OFF).