SymGetOptions function (dbghelp.h)
Retrieves the current option mask.
Syntax
DWORD IMAGEAPI SymGetOptions();
Return value
The function returns the current options that have been set. Zero is a valid value and indicates that all options are turned off.
Remarks
These options can be changed several times while the library is in use by an application. Any option change affects all future calls to the symbol handler.
The return value is the combination of the following values that have been set using the SymSetOptions function.
- SYMOPT_ALLOW_ABSOLUTE_SYMBOLS
- SYMOPT_ALLOW_ZERO_ADDRESS
- SYMOPT_AUTO_PUBLICS
- SYMOPT_CASE_INSENSITIVE
- SYMOPT_DEBUG
- SYMOPT_DEFERRED_LOADS
- SYMOPT_EXACT_SYMBOLS
- SYMOPT_FAIL_CRITICAL_ERRORS
- SYMOPT_FAVOR_COMPRESSED
- SYMOPT_FLAT_DIRECTORY
- SYMOPT_IGNORE_CVREC
- SYMOPT_IGNORE_IMAGEDIR
- SYMOPT_IGNORE_NT_SYMPATH
- SYMOPT_INCLUDE_32BIT_MODULES
- SYMOPT_LOAD_ANYTHING
- SYMOPT_LOAD_LINES
- SYMOPT_NO_CPP
- SYMOPT_NO_IMAGE_SEARCH
- SYMOPT_NO_PROMPTS
- SYMOPT_NO_PUBLICS
- SYMOPT_NO_UNQUALIFIED_LOADS
- SYMOPT_OVERWRITE
- SYMOPT_PUBLICS_ONLY
- SYMOPT_SECURE
- SYMOPT_UNDNAME
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dbghelp.h |
Library | Dbghelp.lib |
DLL | Dbghelp.dll |
Redistributable | DbgHelp.dll 5.1 or later |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for