IDiaSymbol::get_hasEHa

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

Retrieves a flag that specifies whether the function contains asynchronous (structured) exception handling.

Syntax

HRESULT get_hasEHa(  
   BOOL *pFlag  
);  

Parameters

pFlag
[out] Returns TRUE if the function has any asynchronous exception handling; otherwise, returns FALSE.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

Note

A return value of S_FALSE means that the property is not available for the symbol.

Remarks

It is possible to mix asynchronous or structured exception handling with C++-style exception handling, but it requires a specific compiler switch, /EHa, to enable it.

Requirements

Requirement Description
Header: dia2.h
Version: DIA SDK v8.0

See Also

IDiaSymbol