IDebugProcess2::CanDetach
Determines if the session debug manager (SDM) can detach the process.
HRESULT CanDetach(
void
);
int CanDetach();
Return Value
If successful, returns S_OK. Returns S_FALSE if the debugger cannot detach from the process. Otherwise, returns an error code.