Category External objects, Object ProSeldat

Function ProSeldatAlloc


Description
Allocates the memory for the selection data.
Replacement in Object TOOLKIT: wfcExternalObject::AddData
wfcExternalObject::ModifyData
Synopsis
#include <ProExtobjSel.h>
ProErrorProSeldatAlloc(
ProWExtobjdata* sel_data
/* (Out)
The pointer to the pointer to the selection data structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully allocated the memory.
PRO_TK_GENERAL_ERRORThe function could not allocate the memory.

Manual References:

  1. Event-driven Programming: External Objects: Selection Data for External Objects
  2. Event-driven Programming: External Objects: Selection Data for External Objects

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_userguide ( UgExtobjCreate.c )