R2::OpenSegment


unsigned R2::OpenSegment()

This function opens a segment.

Return

unsigned

The identity of the opened segment.

Notes

The next highest available identity is chosen for the segment. If no segments exist, zero is chosen for the identity.

By default, the newly created segment is chained. The method SetSegmentAttributes may be used to set a segment to unchained.