The Detach method of the IRemoteProcess interface detaches the IRemoteProcessCallbackEx2 interface from a Java process after the debugger attached its IRemoteProcessCallbackEx2 interface with a previous call to RegisterCallback.
HRESULT Detach(void)
S_OK Success.
E_FAIL No debugger IRemoteProcessCallbackEx2 interface is registered.