SPDAddTimeout

Purpose

Register a callback that is invoked after a specified period of time has elapsed.

Syntax

#using Spo.SPDlib
long SPDAddTimeOut
(
   int interval,
   SPD_timerCallback callback,
   object passback
);

Description

This function registers a callback that is invoked after a timeout period has elapsed.

interval

is the time in milliseconds that must elapse before the callback is invoked.

passback

is a value passed to the callback function.

Return Value

This function returns an identifier for the timer, which is supplied as a parameter to the callback when it is invoked, and which you may use to remove the timer in a call to SPDRemoveTimeOut.

This function returns NULL if it could not register a callback.

See Also

See also the following client functions: