[quote user="Manko"]How do I get element ID from element descriptor?[/quote]
ElementID GetElementIdFromDescriptor (MSElementDescr const* pElm) { return mdlElement_getID (&pElm->el); }
[quote user="Manko"]MSElementDescr** edPP;[/quote]
It would be unusual to need to declare a pointer-to-pointer-to-descriptor. It's more usual to declare a variable of type MSElementDescr*. You may need to pass the address of your variable to an MDL function to assign. Like this...
MSElementDescr* pElm = 0; if (SUCCESS == mdlElmdscr_read (&pElm, ...)) // address of pElm is MSElementDescr** { ... do something with pElm mdlElmdscr_freeAll (&pElm); }