SPD_MainLoop

Purpose

Enter an event loop waiting for SPD events. The function never returns unless there is an error.

This function is intended for UNIX systems, but you can use it in clients on Windows systems, although the results are limited since this function does not handle Windows events. Use SPD_ProcessEvents as an alternative on Windows.

Syntax

#include "spd.h"
 
SPD_errorTP SPD_MainLoop(void);

Return Value

A return value of SPD_notInitializedCN indicates that the SPD_InitClient client function was not previously called.

See Also

Contrast with the corresponding client function SPD_ProcessEvents for Windows systems ([xref text to replace]).

Use of this function is illustrated in 6.1, 6.5, 6.6, and 6.7.