Category Assembly, Object ProAsmcomp

Function ProAsmcompSubstitutionTypeGet


Description
if given component is substituted one then give type of substitution performed on it.
Replacement in Object TOOLKIT: wfcWComponentPath::GetSubstitutionType
Synopsis
#include <ProSimprep.h>
ProErrorProAsmcompSubstitutionTypeGet(
ProSimprep* p_simp_rep
/* (In)
The handle to the simplified representation.
*/
ProAsmcomppath* path_to_orig_comp
/* (In)
The component path, which is being substituted, including component id (may NOT be NULL).
*/
ProSubstType* substituteType
/* (Out)
Type of substitution peformed on component.
*/
)
Returns
PRO_TK_NO_ERRORThe function works fine.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_E_NOT_FOUNDThe component is not a substitute.

Manual References:

  1. Assembly: Simplified Representations: Extracting Information About Simplified Representations
  2. Assembly: Simplified Representations: Extracting Information About Simplified Representations