MSMQQueue.IsOpen (Windows CE 5.0)

Send Feedback

This read-only property indicates whether or not the queue is open.

HRESULT get_IsOpen( Boolean* pisOpen);

Parameters

  • pisOpen
    TRUE if the queue is open; otherwise, FALSE.

Return Values

The following table describes the common return values.

Value Description
S_OK Success
E_INVALIDARG One or more arguments are invalid
E_NOTIMPL The function contains no implementation
E_OUTOFMEMORY Out of memory

Remarks

MSMQQueue.IsOpen returns 1 only when MSMQQueue.Handle is set to a valid queue handle.

If Message Queuing has set MSMQQueue.Handle to INVALID_HANDLE_VALUE, MSMQQueue.IsOpen always returns 0.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.