Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the timer service for a scheduled event.
Syntax
HRESULT retVal = object.OnTimer(vtimeAdvise);
Parameters
vtimeAdvise [in]
Type: VARIANTA VARIANT of type DWORD that specifies the scheduled time for an event.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The OnTimer method is called by the timer service for a scheduled event. Events can be fired before or after the scheduled time.