Jump to content

WM SEM2

From EDM2

This message is sent or posted by an application.

Syntax

param1
    ULONG    flAccumBits; /* Semaphore value. */

param2
    ULONG    ulReserved1; /* Reserved value, should be 0. */

Parameters

flAccumBits (ULONG) - Input
Semaphore value. The semaphore values from all the WM_SEM2 messages posted to a queue, are accumulated by a logical-OR operation.
ulReserved1 (ULONG) - Input
Reserved value, should be 0.

Returns

ulReserved2 (ULONG) - returns
Reserved value, should be 0.

Remarks

If the message is posted, it is merged with any existing WM_SEM2 message on the queue by combining the two flAccumBits values using a logical-OR operation.

The WM_SEM2 messages are queued above WM_SEM3 and WM_SEM4 messages, and above any WM_PAINT or WM_TIMER messages generated by the system, but lower than any other message.

Default Processing

The default window procedure takes no action on this message, other than to set ulReserved1 to 0.