Checking an Object Implements an Interface

The jomRespondsTo call, shown in the following example, is used to check if the receiver implements (responds to) the interface specified in the interfaceNo parameter or any interface that extends that interface.

int jomRespondsTo(const DskHandle   *pHandle,
                  const DskObjectId *pOid,
                  InterfaceNumber   interfaceNo,
                  unsigned int      *pResult,
                  UInt32            lineNo)

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