A3DMkpLinkForMarkupReferenceGet

A3DStatus A3DMkpLinkForMarkupReferenceGet(const A3DMkpMarkup *pMarkup, A3DUns32 *puiLinkedItemsSize, A3DMiscMarkupLinkedItem ***ppLinkedItems)
A3DStatus A3DMkpLinkForMarkupReferenceGet(const A3DMkpMarkup* pMarkup, A3DUns32* puiLinkedItemsSize, A3DMiscMarkupLinkedItem*** ppLinkedItems)

Get links corresponding to the A3DMkpMarkup references This function allocates and returns an array of A3DMiscMarkupLinkedItem.

To free the allocated array, the function must be called again with pMarkup as NULL.

6.0

Internally there are several types of links such as reference, position, additional reference, owner or datum.This function only returns the reference links.

Return Values

A3D_INITIALIZE_NOT_CALLED:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_ENTITY_NULL:

A3D_INVALID_ENTITY_TYPE:

A3D_SUCCESS:

Parameters

pMarkup: The A3DMkpMarkup entity to get linked item list from. If NULL, pppLinkedItems is freed instead of being allocated.

puiLinkedItemsSize: The number of A3DMiscMarkupLinkedItem in the resulting array.

ppLinkedItems: The resulting array.

Returns

A3D_SUCCESS on success, or an error code on failure