Edit

Share via


IDebugProcess2::CanDetach

Determines if the session debug manager (SDM) can detach the process.

Syntax

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