DLM Message

State Message

dlm_StateMessage()

Converts a state code to a human-readable state message.

Syntax
#include "dlmdef.h"

DlmMessage dlm_StateMessage
    (
        DlmState  state
    );
statestate to convert
Description

dlm_StateMessage() converts a state code to a human-readable state message.

Return Values

dlm_StateMessage() returns a human-readable state message.

See Also

dlm_DataTagMessage()
dlm_ErrorMessage()
dlm_EventMessage()
dlm_SourceMessage()
dlm_StatusMessage()

Example
for (i = dlm_STATE_CLOSED; i <= dlm_STATE_MAX; i++)
{
    printf("State: '%s'\n", dlm_StateMessage(i));
}