DBrestoreSelection

Top  Previous  Next

Secure selection list activate.

With this procedure a former selection state is restored. This is with DBsaveSelection been held on. Now DBrestoreSelection selects all objects which were selected at the time of to which the list selection was put on. Only one limited examination takes place whether the objects still exist everybody. For the consistency above all the user is responsible. selection is not changed and can be used later for other calls by DBrestoreSelection. If a selection list is not required any more, it has to come too DBdestroySelection are destroyed.

Parametre

root (PROOT) [IN]

Pointer on the data bank from which the list selection comes.

selection (SELECTION_LIST) [IN]

One of DBsaveSelection the coming selection list which describes the state which should be restored.

Result

(T_ERROR) [OUT]

In the perfect case becomes ERROR_OK zurückgeliefert, otherwise an error message from the file error.h.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBrestoreSelection (

PROOT root

SELECTION_LIST selection

);

Related procedures

DBdestroySelection

DBsaveSelection