PeekMessageFlags Enumeration

Specifies how messages are to be handled when calling PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum PeekMessageFlags

Remarks

Members

NoRemove 0 Messages are not removed from the queue after processing by PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags).
Remove 1 Messages are removed from the queue after processing by PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags).
NoYield 2 Prevents the system from releasing any thread that is waiting for the caller to go idle (see WaitForInputIdle).

Combine this value with either NoRemove or Remove.

QueueStatusPaint 2,097,152 Process paint messages.
QueueStatusSendMessage 4,194,304 Process all sent messages.
QueueStatusPostMessage 9,961,472 Process all posted messages, including timers and hotkeys.
QueueStatusInput 470,220,800 Process mouse and keyboard messages.

See Also