Jaa


clearInterval method

Cancels the interval previously started using the IHTMLWindow2::setInterval method.

Syntax

HRESULT retVal = object.clearInterval(timerID);

Parameters

  • timerID [in]
    Type: long

    long that specifies the interval to cancel. This value must have been previously returned by the IHTMLWindow2::setInterval method.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

IHTMLWindow2::setInterval