dlm_MonInitialize()
Initializes the data line monitor module.
#include "dlmmon.h" DlmResult dlm_MonInitialize ( void );
dlm_MonInitialize() initializes the data line monitor module. This function must be called and return successfully, before any other monitor function can be called.
If successful, dlm_MonInitialize() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
if ((result = dlm_MonInitialize()) < 0) { printf("Error: Failure initializing: %s.\n", dlm_ErrorMessage(result)); } else { /* do something */ dlm_MonUninitialize(); }