DLM Monitor

Monitor State

dlm_MonState()

Returns the current state of the session.

Syntax
#include "dlmmon.h"

DlmState dlm_MonState
    (
        DlmMonitorId  id
    );
idid of session to check
Description

dlm_MonState() returns the current state of the session.

Return Values

dlm_MonState() returns the current state of the session. The possible state values can be found in dlmdef.h.

See Also

dlm_TapState

Example
while (dlm_MonState(id) != dlm_STATE_OPEN)
{
    /* do something */
}