DBelementFromID

Top  Previous  Next

Act of an element investigate.

With DBelementFromID the trading of an element within an object is determined. Because the BlockId within the object are unequivocal, however, in several objects the same BlockId can appear, the Objekthandle and the BlockId are necessary to determine the element unambiguously. If the element does not exist, this becomes as a result zero-acts delivered.

Parametre

object (POBJECT) [IN]

The trading of the object in which the element in request lies.

elementId (BlockID) [IN]

The ID of the desired element, this is 32 bits of number which identifies the element within the object unambiguously.

Result

(PELEMENT) [OUT]

The trading of the element with the ID elementId. If the element does not exist, this becomes zero-acts as a result delivered.

Declaration

#include "database.h"

 

PELEMENT DLLENTRY DBelementFromID (

POBJECT object,

ElementID elementId

);