Windows Media Player 11 SDK VIEW.timerInterval 

Windows Media Player SDK banner art

Previous Next

VIEW.timerInterval

The timerInterval attribute specifies or retrieves the interval, in milliseconds, at which the timer fires events to the ontimer event handler.

Syntax

  

Possible Values

This attribute is a read/write Number (long) with a default value of 1000.

Value Description
0 The timer event does not fire.
50 and above The interval in milliseconds.

Any value below 50 (including negative numbers, but not including zero) generates an error and the previous value is maintained.

Remarks

This will not fire automatically if no ontimer event handler is implemented. Thus there is no performance degradation even though the default value is non-zero.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next