Share via


IDebugProcess3::GetENCAvailableState

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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

Parameters

pReason
[out] 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

This state can be affected by DisableENC.

See also