A3DAsmProductOccurrenceGet

A3DStatus A3DAsmProductOccurrenceGet(const A3DAsmProductOccurrence *pProductOccurrence, A3DAsmProductOccurrenceData *pData)
A3DStatus A3DAsmProductOccurrenceGet(const A3DAsmProductOccurrence* pProductOccurrence, A3DAsmProductOccurrenceData* pData)

Populates the:c:struct:~A3DAsmProductOccurrenceDatastructure.

Sample code

A3DInt32iErr=A3D_SUCCESS;
A3DAsmProductOccurrence*pOccurrence=A3D_NULL_HANDLE;

/*ShouldcallsomethinghereinordertogetavalidA3DAsmProductOccurrence*/

A3DAsmProductOccurrenceDatasData=A3D_MAKE_DATA(A3DAsmProductOccurrenceData);
iErr=A3DAsmProductOccurrenceGet(pOccurrence,&sData);
if(iErr==A3D_SUCCESS)
{
/*InserthereyourowncodetoparsethroughmembersofProductOccurrence*/
iErr=A3DAsmProductOccurrenceGet(A3D_NULL_HANDLE,&sData);
}

Returns

A3D_SUCCESSon success, or an error code on failure