IDiaSymbol::get_isOptimizedAway

Specifies whether the variable is optimized away.

Syntax

HRESULT get_isOptimizedAway(
   BOOL* pRetVal);

Parameters

pRetVal

[out] A pointer to a BOOL that specifies whether the variable is optimized away.

Return Value

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

See also