UserEventTimerProc

This method of the IUserEventTimerCallback interface is called on expiry of a user event timer.

Declaration

HRESULT
UserEventTimerProc (
    ULONG uUserEventTimerID,
    UINT uTimerElapse);

Parameters

The uUserEventTimerID argument identifies the timer that has expired.

The uTimerElapse argument provides a reminder of the timeout period, in milliseconds, that had been set for the timer.

Return Value

The function returns zero for success, else an error code.

Behaviour

An IUserEventTimerCallback interface pointer is given to an IUserEventTimer implementation, to request that expiry of the timer that is set by the SetUserEventTimer method should be notified by calling the interface’s UserEventTimerProc method.

Particularly when the IUserEventTimer implementation is for a UserEventTimer object (by SHELL32), the return value of this notification is ignored.