Freigeben über


CloseMsgQueue (Windows CE 5.0)

Send Feedback

This function closes a currently open message queue.

BOOL CloseMsgQueue(HANDLEhMsgQ);

Parameters

  • hMsgQ
    [in] Handle to an open message queue.

Return Values

Returns TRUE if the close succeeds; otherwise, returns FALSE. To obtain extended error information, call the GetLastError function.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msgqueue.h.
Link Library: Coredll.lib.

See Also

Message Queue Point-to-Point | CreateMsgQueue | GetMsgQueueInfo | MSGQUEUEINFO | MSGQUEUEOPTIONS | OpenMsgQueue | ReadMsgQueue | WriteMsgQueue

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.