Microsoft SDK for Java

IRemoteMethodField::
GetBytes

The GetBytes method of the IRemoteMethodField interface returns an ILockBytes interface that can be used to obtain the Java bytecodes of this method. A debugger can use this method to display a disassembly of the method's bytecodes.

Syntax

HRESULT GetBytes(ILockBytes **ppLockBytes)

Parameters

[out] ppLockBytes Returns an ILockBytes interface that can be used to access this method's bytecodes.

Return Value

S_OK Success.

E_FAIL if the method has no bytecode (as with a native method) or it is a JIT method with no source line mapping information.

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