LogWaitEvent waits for event-notification information for which the process registered. You receive the event-key data structure and log entry data from the Logging Service.
For details on event-notification filters, see LogOpenEventNotification.
#define INCL_LOGGING #include <os2.h> #include <lfdef.h> ULONG service; PVOID pWaitEvent; APIRET rc; rc = LogWaitEvent(service, pWaitEvent);