Microsoft SDK for Java

IJavaEventMonitorIDInfo3::
GetMethodExitReturnValue

The GetMethodExitReturnValue method of the IJavaEventMonitorIDInfo3 interface can be used to retrieve the return value from the method call that was just completed.

The profiler can only call GetMethodExitReturnValue during a MethodExit or MethodExit2 callback notification.

The GetMethodExitReturnValue method is implemented only by the IJavaEventMonitorIDInfo3 interface.

Syntax

HRESULT GetMethodExitReturnValue(MethodID *preturning_method_id, __int64 **pret_value);

Return Value

The MethodID of the method that is exiting and its return value.

Parameters

[out] *preturning_method_id The MethodID of the method that was just completed.
[out] **pret_value The method return value for the method that was just completed.

Remarks

To properly interpret the return value (its type and value), a profiler would need to parse the signature for this method. This parameter signature can be retrieved by calling the MethodInformation method.

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