dlm_MonState()
Returns the current state of the session.
#include "dlmmon.h" DlmState dlm_MonState ( DlmMonitorId id );
id | id of session to check |
dlm_MonState() returns the current state of the session.
dlm_MonState() returns the current state of the session. The possible state values can be found in dlmdef.h.
while (dlm_MonState(id) != dlm_STATE_OPEN) { /* do something */ }