IDiaSymbol::get_hasEHaIDiaSymbol::get_hasEHa

抓取旗標,這個旗標會指定函數是否包含非同步 (結構化) 例外狀況處理。Retrieves a flag that specifies whether the function contains asynchronous (structured) exception handling.

語法Syntax

HRESULT get_hasEHa(
   BOOL *pFlag
);

參數Parameters

pFlag

擴展如果函式 TRUE 具有任何非同步例外狀況處理,則傳回,否則傳回 FALSE[out] Returns TRUE if the function has any asynchronous exception handling; otherwise, returns FALSE.

傳回值Return Value

如果成功,則傳回, S_OK 否則傳回 S_FALSE 錯誤碼。If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

注意

的傳回值 S_FALSE 表示該屬性不適用於符號。A return value of S_FALSE means that the property is not available for the symbol.

備註Remarks

您可以使用 c + + 樣式的例外狀況處理來混合非同步或結構化例外狀況處理,但它需要特定的編譯器參數(/EHa)來啟用它。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。hdia2.h
版本:Version: DIA SDK v8.0DIA SDK v8.0

另請參閱See also