Checking an Object is a Valid Class Instance

The jomIsKindOf call, shown in the following example, is used to check if the receiver is a valid instance of the class specified in the superClassNo parameter, or any of its subclasses.

int jomIsKindOf(const DskHandle   *pHandle,
                const DskObjectId *pOid,
                ClassNumber       superClassNo,
                unsigned int      *pResult,
                UInt32            lineNo)

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