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.
HRESULT RegisterCallback(IRemoteProcessCallback *pCallback)
[in] pCallback | The debugger’s callback interface that is to receive notifications for this Java process. |
S_OK Success.
E_FAIL An IRemoteProcessCallbackEx2 interface is already registered with this Java process.