Index

C/C++ Functions

pdObjSet

DT_SWORD pdObjSet(DT_PDDOC power_doc, DT_ID_SLONG obj, DT_SLONG name, const DT_CHAR* desc)

Short Description: Change existing object info

The pdObjSet function changes the numerical value and text description associated with an exiting PowerDoc object.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

obj

Object's index in the Power Engine document.

name

A numerical user-defined value to be associated with the PowerDoc object.

desc

A valid pointer to the standard ANSI C/C++ string which holds a user-defined text description to be associated with the PowerDoc object.

Return Value

If the change was successful, the return value is 1. Otherwise, the function returns 0 (bad input) or -1 (memory error).

Related Functions

pdObjGet

 

Index