Calls a Java method or constructor and returns a 64-bit integer.
int64_t __cdecl do_execute_java_method64(ExecEnv *ee, void *obj, const char *method_name, const char *signature, struct methodblock *mb, bool_t isStaticCall, ...);
*ee | The placeholder for the execution environment, which is not needed by the Microsoft VM. This parameter should be set to NULL. |
*obj | The object pointer. |
*method_name | The name of the method to invoke. Set to NULL if using a method block. |
*signature | The types of parameters passed to the constructor. See execute_java_dynamic_method for a description of signature characters. Pass NULL if using a method block. |
*mb | The address of the cached method block data structure. Use get_methodblock to retrieve this. The underlying structure of the method block is not defined; it is used only to prevent accidental type misuse using the alternative, PVOID. |
isStaticCall | True if calling a static method, or false otherwise. |
get_methodblock is a helper function for this function. It can be used when making repeated calls to a method to avoid the overhead of name lookup on each call. Note that invoking a Java method can cause garbage collections.