Edit

Share via


IDebugProcess3::DisableENC

This method explicitly disables Edit and Continue on this process (and all programs it contains). A custom port supplier should always return E_NOTIMPL.

Syntax

   EncUnavailableReason reason
);

Parameters

reason
[in] A value from the EncUnavailableReason enumeration.

Return Value

If successful, returns S_OK; otherwise, returns error code.

Note

A custom port supplier should always return E_NOTIMPL.

Remarks

Once Edit and Continue is disabled for a process, it can be re-enabled only by restarting the process.

See also