Platform SDK: Exchange Server

HrEventGetCounts

The HrEventGetCounts function retrieves the number of events logged by the current program.

Quick Info

Header file: EDKEVENT.H
Library: EDKEVENT.LIB

HRESULT HrEventGetCounts(
  LPEDKEVENTCOUNT lpsEventCount  
);
 

Parameters

lpsEventCount
Output parameter. Points to the EDKEVENTCOUNT structure containing a count of events.

Return Values

See Return Values.

Remarks

The Error, Warning, and Information events retrieved by the HrEventGetCounts function are logged thru the EventLogMsg function.

See Also

EventLogMsg