OpenMsgQueue
Windows Mobile 6.5
A version of this page is also available for
4/8/2010
This function opens a handle to an existing message queue based on a message queue handle.
HANDLE OpenMsgQueue( HANDLE hSrcProc, HANDLE hMsgQ, LPMSGQUEUEOPTIONS lpOptions );
- hSrcProc
-
[in] Handle to a source process that owns the hMsgQ message queue handle.
- hMsgQ
-
[in] Event handle to a message queue returned by the CreateMsgQueue function.
- lpOptions
-
[in] Pointer to an MSGQUEUEOPTIONS structure that sets the properties of the message queue.
Use the CloseMsgQueue function to close the handle returned by the OpenMsgQueue function. When called, the OpenMsgQueue function checks only the values of the dwSize and bReadAccess members of the lpOptions parameter.