DBaddSegment

Top  Previous  Next

Insertion of a new segment in the data bank.

With this function a new segment is opened in a data bank. This segment is empty at the beginning, contains also no plan. In such a segment no objects can be put on. The user must generate at least one plan in this segment.

Parametre

root (PROOT) [IN]

This is the trading of the data bank in which the new segment should be put on.

blattTyp (USHORT) [IN]

This name is taken over from Gradis. She determines the memory place of the data and produces a structuralisation after levels. Sheet types greater than 65000 are booked for the system.

Result

(PSEGMENT) [OUT]

The procedure delivers either the trading of the new segment or ZERO in case of a mistake. With the trading other calls can occur, possibly for generating of the plans.

Declaration

#include "database.h"

 

PSEGMENT DLLENTRY DBaddSegment (

PROOT root,

USHORT blattTyp

);