Category External objects, Object ProExtobj

Function ProExtobjOwnerobjGet


Description
Retrieves the owner of an existing external object.
Replacement in Object TOOLKIT: wfcExternalObject::GetOwner
Synopsis
#include <ProExtobj.h>
ProErrorProExtobjOwnerobjGet(
ProExtobj* object
/* (In)
The handle to the external object
*/
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class
*/
ProModelitem* owner
/* (Out)
The handle to the owner
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDThe owner was not found.
PRO_TK_GENERAL_ERRORThe external object was not found, or the function could not retrieve the information.

Manual References:

  1. Event-driven Programming: External Objects: External Object Owners
  2. Event-driven Programming: External Objects: External Object Owners

Sample Code References:

  1. pt_examples ( TestExtobj.c )