SuspendAsyncTimerCallbacks

int SuspendAsyncTimerCallbacks ();

Purpose

This function stops all timer callbacks until a call is made to ResumeAsyncTimerCallbacks.

Note  This function does not alter the ongoing schedule of timer intervals. It merely inhibits the calling of callback functions.

Parameters

None.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Return Values:
0Success.
–1The system failed to allocate a timer.
–2No more IDs are available to assign to a new timer.
–3Not enough memory left for this operation.
–4The timer with the given ID was not found.
–5Initialization with a call to NewAsyncTimer was not done.
–6An internal error occurred.
–7The value of a parameter passed to this function was invalid.