LogReadEntry reads a specified log entry from a log file.
You can specify a filter that is used to select only entries of a desired class. The format of the filter is described by the event-filter data structure FILTERBLOCK.
#define INCL_LOGGING #include <os2.h> #include <lfdef.h> ULONG service; PVOID pReadEntry; APIRET rc; rc = LogReadEntry(service, pReadEntry);