DBaddSelectSegment

Top  Previous  Next

Segment in selection list take up.

The given segment is taken up in the selection list, i.e. all objects from this segment are selected. Besides, it is unimportant whether already parts of the segment are selected. The segment must not have put the Flag selectable. Special segments are rejected by this routine with an error message, because objects from these may not be selected.

Parametre

segment (PSEGMENT) [IN]

The trading of the segment whose objects should be selected.

Result

(T_ERROR) [OUT]

If the procedure was explained perfectly, is the result ERROR_OK, but one of the error messages from error.h.

If a segment from the special segment is tried to select, becomes the value MOSKITO_ERROR_INVALID_SEGMENT zurückgeliefert and the segment it is not selected.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBaddSelectSegment (

PSEGMENT segment

);