Deleting an Object

The jomDeleteObject call, shown in the following example, deletes the object specified by the oid.

int jomDeleteObject(const DskHandle   *pHandle,
                    const DskObjectId *pOid,
                    DskParam          *pParam1,
                    DskParam          *pParam2,
                    UInt32            lineNo)

Exclusive subobjects are deleted automatically. Any subobject defined as shared is the responsibility of your application and must be deleted by your application.

Any destructor method specified for this class of object is automatically executed. (For details, see "Using Constructors and Destructors", in Chapter 4 of the JADE Development Environment User’s Guide.)

The parameters for this call are described in the following subsections.