Share via


IDiaSymbol::get_hasSecurityChecks

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 compiland or function has been compiled with buffer-overrun security checks (for example, the /GS (Buffer Security Check) compiler switch).

Syntax

HRESULT get_hasSecurityChecks(  
   BOOL *pFlag  
);  

Parameters

pFlag
[out] Returns TRUE if the function has any security checks; 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.

Requirements

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

See Also

IDiaSymbol
/GS (Buffer Security Check)