DBgradisIdFromObject |
Top Previous Next |
Gradis-ID of an object determine. A trading is given for an object. For this object a gradis compatible ID is generated. This exists of two 16 bits of upright figures. The first number identifies the object, the second one the segment in which the object is. Two objects from the same segment always have the same identification for the segment. 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 object his ID is released again. Parametre object (POBJECT) [IN] Act of the object to which a Gradis-ID is required. Result (GRADISOBJECTID) [OUT] Is the Gradis-ID generated to this object. This is a record with the fields objID and segID. If is one of these fields 0, could be awarded no other ID. The object identifies the Gradis-ID unambiguously. Declaration #include "database.h"
GRADISOBJECTID DLLENTRY DBgradisIdFromObject ( POBJECT object ); Related procedures
|