DBgradisIdFromElement |
Top Previous Next |
Gradis-ID of an element determine. A trading is given for an element. For this element a gradis compatible ID is generated. This exists of two 16 bits of upright figures. The first number identifies the object in which the element is, the second one the element itself. Two elements from the same object always have the same identification for the object. Because it concerns 16-bit figures, the number of the Handles for which such an ID can be generated is limited. The gradis compatible IDs will award only with her use and are by the following calls of the same data bank not the same. The ID 0 will not award. If one of both 16-bit figures 0 is, the number of the possible IDs is exhausted. With the extinguishing of an element his ID is released again. Parametre element (PELEMENT) [IN] Act of the element to which a Gradis-ID is required. Result (GRADISELEMENTID) [OUT] Is the Gradis-ID generated to this element. This is a record with the fields elemID and objID. If is one of these fields 0, could be awarded no other ID. The object identifies the Gradis-ID unambiguously. Declaration #include "database.h"
GRADISELEMENTID DLLENTRY DBgradisIdFromElement ( PELEMENT element ); Related procedures
|