Function : Log

LogAddTimeItem - Add a Time/Date to a log entry.
----------------------------------------------------------------------------------------------------------

#include <log.h>

STATUS LNPUBLIC LogAddTimeItem(
WORD LogEntry,
WORD Flags,
char far *ItemName,
TIMEDATE far *Time);

Description :

This function takes a log entry number, an entry lock flag, the name of the item, and the TIMEDATE value you wish to add to the log entry. It deletes any existing item with the same name before adding the new value.

Parameters :

Sample Usage :

/* Log Time of day in an AddInEvent note */

OSCurrentTIMEDATE(&log_td);
if (error_status = LogAddTimeItem(log_entry, LOG_LEAVE_LOCKED,
                                    "SpecialTime", &log_td))
  goto Exit;


See Also :

LogCreateEntry
----------------------------------------------------------------------------------------------------------