Category External objects, Object ProExtobjdata

Function ProExtobjdataGet


Description
Retrieves the object data from an existing external object.
Synopsis
#include <ProExtobj.h>
ProErrorProExtobjdataGet(
ProExtobj* object
/* (In)
The handle to the external object
*/
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class
*/
ProExtobjdataType type
/* (In)
The data type
*/
ProWExtobjdata* obj_data
/* (Out)
The pointer to the object data. Free this data using ProExtobjdataFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the data.
PRO_TK_GENERAL_ERRORThe external object was not found, or the function could not retrieve the data.

Manual References:

  1. Event-driven Programming: External Objects: Manipulating External Object Data
  2. Event-driven Programming: External Objects: Manipulating External Object Data

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_examples ( TestExtobj.c )
  3. pt_examples ( TestExtobj.c )
  4. pt_examples ( TestExtobj.c )