Share via


IDebugProcess3::GetENCAvailableState

Note

This article applies to Visual Studio 2015. 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

IDebugProcess3
DisableENC
EncUnavailableReason