DBsegmentFromID

Top  Previous  Next

Segment from ID determine.

With DBsegmentFromID the trading of a segment from the accompanying ID is determined. If the segment is not loaded, this call proves one zero-acts, but the trading of the segment with the ID segmentId. There is, except the data type, no difference between a SegmentId, a SegmentIdFull and a GradisSegmentId.

Parametre

root (PROOT) [IN]

The trading of the data bank.

segmentId (SegmentID) [IN]

The ID of the desired segment, this is 16 bits of number.

Result

(PSEGMENT) [OUT]

The trading of the segment with the IDsegmentId. If the segment is not loaded, this becomes zero-acts as a result delivered.

Declaration

#include "database.h"

 

PSEGMENT DLLENTRY DBsegmentFromID (

PROOT root,

SegmentID segmentId

);