DBfirstSegment

Top  Previous  Next

The first segment of the data bank.

With DBfirstSegment the trading of the first segment of the data bank root is determined. If still no segment was put on in the data bank, DBfirstSegment delivers the value to ZERO. The other segments let themselves with DBnextSegment list. All segments are delivered, so also the special segments like the symbolic segment or the Drawsegment.

Parametre

root (PROOT) [IN]

This is the trading of the data bank by which the trading of the first segment is determined. DBfirstSegment and DBnextSegment if deliver all segments, no matter whether they are selectable.

Result

(PSEGMENT) [OUT]

This is the trading of the first segment of the data bank.

Declaration

#include "database.h"

 

PSEGMENT DLLENTRY DBfirstSegment (

PROOT root

);