Returns the result of the instance resolution represented as a compound object.
A smart pointer to a compound object.
The method returns a valid smart pointer to the compound object if the resolution result is equal to kResCompound; otherwise, the method returns a NULL pointer.