IAPI::SetTimer

property SetTimer.

Creates a timer. App or script will be notified by onTimer() callback function.

 

HRESULT SetTimer(
  long Interval,
  long *pVal
);

Parameters

Interval

[in,defaultvalue(1000)] . In milliseconds

pVal

[out, retval] The returned value is the timer identifier

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI