Microsoft SDK for Java

IRemoteProcess::
RegisterCallback

The RegisterCallback method of the IRemoteProcess interface is called by a debugger to register a callback interface that should receive notification and information regarding this Java process. The debugger passes its IRemoteProcessCallbackEx2 interface implementation. IRemoteProcessCallbackEx2 is the primary interface that the Microsoft VM uses to communicate with the debugger. The VM sends information to the debugger regarding the process by calling various methods on this callback interface.

Syntax

HRESULT RegisterCallback(IRemoteProcessCallback *pCallback)

Parameters

[in] pCallback The debugger’s callback interface that is to receive notifications for this Java process.

Return Value

S_OK Success. 

E_FAIL An IRemoteProcessCallbackEx2 interface is already registered with this Java process.

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