Category Family table, Object ProFaminstance

Function ProFaminstanceAdd


Description
Adds the specified instance to the family table.
Replacement in Object TOOLKIT: pfcFamilyMember::AddRow
Synopsis
#include <ProFaminstance.h>
ProErrorProFaminstanceAdd(
ProFaminstance* p_inst
/* (In)
The instance handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the instance.
PRO_TK_E_FOUNDThe specified instance already exists in the family table.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed (for example, the generic does not exist in session, or the function could not find the family table).
PRO_TK_ABORTOperation of adding instance is aborted since the supplied name was already in use.

Manual References:

  1. Core: Family Tables: Operations on Family Table Instances
  2. Core: Family Tables: Operations on Family Table Instances

Sample Code References:

  1. pt_examples ( TestFamTab.c )
  2. pt_wc_server ( PTWCServerAddInstance.c )