Microsoft SDK for Java

IRemoteMethodFieldEx::
GetMethodLocationForPC

The GetMethodLocationForPC method of the IRemoteMethodFieldEx interface returns the IMethodLocation interface representing a given interpreted bytecode offset in this method.

Syntax

HRESULT GetMethodLocationForPC(ULONG ulPC, IMethodLocation **ppiml)

Parameters

[in] ulPC The interpreted bytecode offset for which the method location is requested.
[out] ppiml Returns the method location for the given interpreted bytecode offset in this method.

Return Value

S_OK Success. 

E_OUTOFMEMORY Insufficient memory.

Remarks

The Microsoft VM will not validate that the given offset corresponds to the beginning of a bytecode instruction. A method location can be obtained for any offset within the method’s bytecodes.

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