User32GetQueueStatus Method

Retrieves the type of messages found in the calling thread's message queue.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", ExactSpelling = true)]
public static uint GetQueueStatus(
	QueueStatusFlags flags
)

Parameters

flags  QueueStatusFlags
Specifies the types of messages for which to check.

Return Value

UInt32
The high-order word of the return value indicates the types of messages currently in the queue.

The low-order word indicates the types of messages that have been added to the queue and that are still in the queue since the last call to the GetQueueStatus(QueueStatusFlags), GetMessage(NativeMessage, IntPtr, UInt32, UInt32), or PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags) function.

Remarks

See Also