DLM Tap

Tap State

dlm_TapState()

Returns the current state of the session.

Syntax
#include "dlmtap.h"

DlmState dlm_TapState
    (
        DlmLine  line
    );
lineid of session to check
Description

dlm_TapState() returns the current state of the session.

Return Values

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

See Also

dlm_MonState

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