共用方式為


IDebugProgram2::CanDetach

Determines if a debug engine (DE) can detach from the program.

HRESULT CanDetach(
   void
);
int CanDetach();

Return Value

If can detach, returns S_OK; otherwise, returns an error code. Returns S_FALSE if the DE cannot detach from the program.

See Also

Reference

IDebugProgram2