Category Behavioral modeling, Object ProAnalysis

Function ProAnalysisDefnAlloc


Description
Allocate and initialize memory for a ProAnalysisDefinition object, as the value of the PRO_E_ANALYSIS_DEF element in the feature element tree.
Synopsis
#include <ProAnalysis.h>
ProErrorProAnalysisDefnAlloc(
ProName type
/* (In)
The type as registered by a call to ProAnalysisTypeRegister()
*/
ProAppData info
/* (In)
Pointer to application data needed by the feature
*/
ProAnalysisDefinition* definition
/* (Out)
The resulting definition. Assign this value directly to the element PRO_E_ANALYSIS_DEF in the element tree when creating an external analysis feature.
*/
)
Returns
PRO_TK_NO_ERROR PRO_TK_OUT_OF_MEMORY