The GetDerivedMostType method of the IRemoteClassObject interface returns an IRemoteClassField interface that represents the object's derived-most type. For example, if the IRemoteClassObject represented an instance of the MyException class, and the MyException class was derived from the java.io.IOException class, the object's derived-most type would be the MyException class.
HRESULT GetDerivedMostType(IRemoteClassField **ppDerivedMostField)
[out] ppDerivedMostField | The object's derived-most type. |
S_OK Success.
E_NOLONGERVALID The underlying object is no longer valid.
E_NOTINITIALIZED This object reference has not yet been initialized.
E_NULLOBJECTREF This object reference is the null object reference.
E_OUTOFMEMORY Insufficient memory.