Microsoft SDK for Java

FindClass

Retrieves a class object pointer for a named class.

Syntax

ClassClass* __cdecl FindClass(ExecEnv *ee, char *classname, bool_t resolve);

Return Value

Returns a pointer to the class.

Parameters

*ee The placeholder for the execution environment, which is not needed by the Microsoft VM. Set this parameter to NULL.
*classname The name of the class to locate.
resolve Ignored. Classes found will always be resolved.

Remarks

Use this function to get a pointer to a class, named by classname. This pointer can be used in the execute_java_static_method function to identify the class.

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