MSMQQueue.IsOpen (Windows Embedded CE 6.0)
1/6/2010
This read-only property indicates whether or not the queue is open.
Syntax
HRESULT get_IsOpen(
Boolean* pisOpen
);
Parameters
- pisOpen
TRUE if the queue is open; otherwise, FALSE.
Return Value
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
Header | mqoai.h |
Library | mqoa.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |