The HrEventGetCounts function retrieves the number of events logged by the current program.
Header file: | EDKEVENT.H |
Library: | EDKEVENT.LIB |
HRESULT HrEventGetCounts(
LPEDKEVENTCOUNT lpsEventCount
);
See Return Values.
The Error, Warning, and Information events retrieved by the HrEventGetCounts function are logged thru the EventLogMsg function.