tpm_cleancomplete

Land Desktop Development ARX CPP SDK

Up a level
tpm_cleancomplete
 
 

Tests for a next group to clean.

int

tpm_cleancomplete(

ade_id clean_id);

Returns TRUE if no more groups need cleaning, or FALSE.

clean_id The model ID returned by tpm_cleanalloc.

You must call this function after tpm_cleangroupnext to determine if another group needs cleaning, because tpm_cleangroupnext does not provide this information.

You must usually execute several cleanup loops, because fixing one error sometimes causes others. After you process all the groups in the selection set, call tpm_cleanstart to return to the beginning, and then call tpm_cleancomplete to test if cleaning is complete. Repeat the loop until cleaning is complete.

For an example that shows how you can use the cleanup functions, see tpm_cleanalloc.