Q3File_SetIdleMethod
You can use theQ3File_SetIdleMethodfunction to set a file object's idle method.
TQ3Status Q3File_SetIdleMethod ( TQ3FileObject file, TQ3FileIdleMethod idle, const void *idleData);
file- A file object.
idle- A pointer to an idle method. See page 17-69 for information on idle methods.
idlerData- A pointer to an application-defined block of data. This pointer is passed to the idler callback routine when it is executed.
DESCRIPTION
TheQ3File_SetIdleMethodfunction sets the idle method of the file object specified by thefileparameter to the function specified by theidleparameter. TheidlerDataparameter is passed to your idle method whenever it is executed.