次の方法で共有


CloseMsgQueue (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

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

Other Resources

Message Queue Point-to-Point