SymSetExtendedOption function (dbghelp.h)

Turns the specified extended symbol option on or off.

Syntax

BOOL IMAGEAPI SymSetExtendedOption(
  [in] IMAGEHLP_EXTENDED_OPTIONS option,
  [in] BOOL                      value
);

Parameters

[in] option

The extended symbol option to turn on or off. The following are valid values.

Value Meaning
SYMOPT_EX_DISABLEACCESSTIMEUPDATE
0
When set to TRUE, turns off explicitly updating the last access time of a symbol that is loaded. By default, DbgHelp updates the last access time of a symbol file that is consumed so that a symbol cache can be maintained by using a least recently used mechanism.

[in] value

The value to set for the specified option, either TRUE or FALSE.

Return value

The previous value of the specified extended option.

Requirements

Requirement Value
Target Platform Windows
Header dbghelp.h
Library DbgHelp.lib
DLL DbgHelp.dll
Redistributable DbgHelp.dll 10.0.16232.1000 or later

See also

IMAGEHLP_EXTENDED_OPTIONS

SymGetExtendedOption