LogOpenEventNotification - Syntax

LogOpenEventNotification registers a consumer with the Logging Service, so that the consumer will receive notification when specific log records have been created. Consumers specify which log records they will be notified about by providing filtering information. If no filter data structure is provided, all events that are logged to the specified log file will cause event notifications to be forwarded to the consumer. LogOpenEventNotification returns an ID used to reference this notification request.

Notifications will be sent for only those records placed in the error log by the FFSTProbe API.

#define INCL_LOGGING
#include <os2.h>
#include <lfdef.h>

ULONG           service;
PVOID           pOpenEventNotification;
APIRET          rc;

rc = LogOpenEventNotification(service, pOpenEventNotification);


[Back: LogOpenEventNotification]
[Next: LogOpenEventNotification Parameter - service]