Microsoft SDK for Java

IRemoteProcess::
FindClass

The FindClass method of the IRemoteProcess interface is used to obtain the IRemoteClassField interface for a named Java class, loading the Java class as a system class first if necessary.

Syntax

HRESULT FindClass(LPCOLESTR pszClassName, IRemoteClassField **ppClassType)

Parameters

[in] pszClassName The name of the class to find.
[out] ppClassType Returns the named class.

Return Value

S_OK Success. 

E_FAIL Unable to find the specified system class.

E_OUTOFMEMORY Insufficient memory.

Remarks

FindClass can only be used to load a system class. It cannot be used to load a class from a Java class loader.

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