API 설명서 > Family table > Object ProFaminstance > Function ProFaminstanceGenericGet
Function ProFaminstanceGenericGet
Description
Retrieves the generic model, given its handle.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFaminstance.h>
ProFaminstanceGenericGet
(
ProMdl inst_model
/* (In)
The handle to the instance model.
*/
int immediate
/* (In)
If you set this to TRUE, the system searches for the immediate generic. If this is FALSE, the system searches for the top-level generic.
*/
ProMdl* gen_model
/* (Out)
The handle to the top-level or immediate generic model.
*/
)
Returns
The function successfully retrieved the handle.
The specified model is not an instance -- it has no generic model.
The immediate generic is not in session ('immediate' is set to TRUE). Use ProFaminstanceImmediategenericinfoGet() to obtain the name and modeltype of immediate generic in such case.
A general error occurred and the function failed.
Sample Code References
User Guide References
도움이 되셨나요?