SymSetOptions

The SymSetOptions function sets the options mask.

DWORD SymSetOptions(
  IN DWORD SymOptions  
);
 

Parameters

SymOptions
Specifies the new options value. Zero is a valid value and indicates that all options are turned off. The options values are masks that are combined using the OR operator to form a valid options value. The valid mask values are:
Value Meaning
SYMOPT_CASE_INSENSITIVE All symbol searches are insensitive to case.
SYMOPT_UNDNAME All symbols are presented in undecorated form.
SYMOPT_DEFERRED_LOADS Symbols are not loaded until a reference is made requiring the symbols be loaded. This is the fastest, most efficient way to use the symbol handler.
SYMOPT_NO_CPP All C++ decorated symbols containing the symbol separator "::" are replaced by "__". This option exists for debuggers that cannot handle parsing real C++ symbol names.

Return Values

The function returns the current options mask.

Remarks

The options value can be changed any number of times while ImageHlp is in use by an application. The option change affects all future calls to the symbol handler.

To get the current options mask, call the SymGetOptions function.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in imagehlp.h.
  Import Library: Use imagehlp.lib.

See Also

PE Image Helper (ImageHlp) Overview, Symbol Handler, SymGetOptions