Microsoft SDK for Java

get_methodblock

Retrieves a pointer to a method block structure containing the class name, method name, and parameter and return types of a method.

Syntax

struct methodblock* __cdecl get_methodblock(HObject *pjobj, char *method_name, char *signature);

Return Value

Returns a handle to a method in the given object specified by name and signature. This is useful for functions like do_execute_java_method, which can use this information directly instead of having to look it up.

Parameters

*pjobj The address of the structure.
*method_name The name of the method to invoke.
*signature The types of parameters passed to the constructor. For a description of signature characters, see execute_java_dynamic_method.

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