IDebugProcessEx2::Detach
This method informs the process that a session is no longer debugging the process.
HRESULT Detach(
IDebugSession2* pSession
);
int Detach(
IDebugSession2 pSession
);
Parameters
- pSession
[in] A value that uniquely identifies the session to detach this process from.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The interface passed in pSession is to be treated only as a cookie, a value that uniquely identifies the session debug manager that originally attached to this process; none of the methods on the supplied interface are functional.