Creating an Object

The jomCreateObject call, shown in the following example, creates an object of the specified class and returns the full object identifier (oid) of the created object in the pOid parameter.

int jomCreateObject(const DskHandle *pHandle,
                    DskObjectId     *pOid,
                    BYTE            type,
                    DskParam        *pParam1,
                    DskParam        *pParam2,
                    UInt32          lineNo)

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