Partager via


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.

See Also

Reference

IDebugProgram2::CanDetach

IDebugProcess2