Category External objects, Object ProExtobj

Function ProExtobjClassWarningEnable


Description
Enables warnings upon the specified action for the external object class (so any objects of this class that are subsequently created will inherit the enabled warning).
Synopsis
#include <ProExtobj.h>
ProErrorProExtobjClassWarningEnable(
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class
*/
ProExtobjAction extobjaction
/* (In)
The action type for which the warning is enabled
*/
)
Returns
PRO_TK_NO_ERRORThe warning is enabled for the specified external object class.
PRO_TK_BAD_INPUTSYou specified an invalid class handle or an unsupported action.
PRO_TK_GENERAL_ERRORThe external object class was not found, or another problem occurred.

Manual References:

  1. Event-driven Programming: External Objects: Warning Mechanism for External Objects
  2. Event-driven Programming: External Objects: Warning Mechanism for External Objects

Sample Code References:

  1. pt_examples ( TestExtobj.c )