共用方式為


IDebugProcess3::GetENCAvailableState

This method gets the current Edit and Continue state of the process. A custom port supplier should always return E_NOTIMPL.

HRESULT GetENCAvailableState(
   EncUnavailableReason* pReason
);
int GetENCAvailableState(
   EncUnavailableReason[] pReason
);

Parameters

Return Value

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

注意

A custom port supplier should always return E_NOTIMPL.

Remarks

This state can be affected by IDebugProcess3::DisableENC.

See Also

Reference

IDebugProcess3

IDebugProcess3::DisableENC

EncUnavailableReason