User32GetQueueStatus Method
Retrieves the type of messages found in the calling thread's message queue.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll", ExactSpelling := true>]
Public Shared Function GetQueueStatus (
flags As QueueStatusFlags
) As UInteger
Dim flags As QueueStatusFlags
Dim returnValue As UInteger
returnValue = User32.GetQueueStatus(flags)
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
static unsigned int GetQueueStatus(
QueueStatusFlags flags
)
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
static member GetQueueStatus :
flags : QueueStatusFlags -> uint32
No code example is currently available or this language may not be supported.
- flags QueueStatusFlags
-
Specifies the types of messages for which to check.
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.