GetMsgQueueInfo

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function returns information about a message queue.

Syntax

BOOL GetMsgQueueInfo(
  HANDLE hMsgQ,
  LPMSGQUEUEINFO lpInfo
);

Parameters

  • hMsgQ
    [in] Handle to an open message queue.
  • lpInfo
    [out] Pointer to an MSGQUEUEINFO structure that returns information about the message queue.

Return Value

TRUE indicates success. FALSE indicates failure. To obtain extended error information, call the GetLastError function.

Requirements

Header msgqueue.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Message Queue Point-to-Point Functions
CloseMsgQueue
CreateMsgQueue
MSGQUEUEINFO
MSGQUEUEOPTIONS
OpenMsgQueue
ReadMsgQueue
WriteMsgQueue

Other Resources

Message Queue Point-to-Point