MSMQQueue.IsOpen (Compact 2013)

3/26/2014

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

See Also

Reference

MSMQQueue