GetMsgQueueInfo (Compact 2013)

3/28/2014

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

See Also

Reference

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