Microsoft SDK for Java

IRemoteClassObject::
GetDerivedMostType

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.

Syntax

HRESULT GetDerivedMostType(IRemoteClassField **ppDerivedMostField)

Parameters

[out] ppDerivedMostField The object's derived-most type.

Return Value

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.