SymGetOptions Function
Retrieves the current option mask.
DWORD WINAPI SymGetOptions(void);
Parameters
This function has no parameters.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
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
Requirements
Redistributable |
Requires DbgHelp.dll 5.1 or later. |
---|---|
Header |
Declared in Dbghelp.h. |
Library |
Use Dbghelp.lib. |
DLL |
Requires Dbghelp.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 9/25/2007
© 2007 Microsoft Corporation. All rights reserved.