Called by the timer service for a scheduled event.
Syntax
HRESULT OnTimer( VARIANT timeAdvise );
Parameters
- timeAdvise
- [in] VARIANT that contains the scheduled time for an event.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The OnTimer method is called by the timer service for a scheduled event. Events may be fired before or after the scheduled time.