Compartilhar via


CloseMsgQueue (Compact 2013)

3/28/2014

This function closes a currently open message queue.

Syntax

BOOL CloseMsgQueue(
  HANDLE hMsgQ
);

Parameters

  • hMsgQ
    [in] Handle to an open 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
CreateMsgQueue
GetMsgQueueInfo
MSGQUEUEINFO
MSGQUEUEOPTIONS
OpenMsgQueue
ReadMsgQueue
ReadMsgQueueEx
WriteMsgQueue