The AddSyntheticSymbol method adds a synthetic symbol to a module in the current process.
HRESULT AddSyntheticSymbol( ULONG64 Offset, ULONG Size, PCSTR Name, ULONG Flags, PDEBUG_MODULE_AND_ID Id );
Specifies the location in the process's virtual address space of the synthetic symbol.
Specifies the size in bytes of the synthetic symbol.
Specifies the name of the synthetic symbol.
Set to DEBUG_ADDSYNTHSYM_DEFAULT.
Receives the DEBUG_MODULE_AND_ID structure that identifies the synthetic symbol. If Id is NULL, this information is not returned.
||The method was successful.|
This method may also return error values. See Return Values for more details.
The location of the synthetic symbol must not be the same as the location of another symbol.
If the module containing a synthetic symbol is reloaded - for example, by calling Reload with the Module parameter set to the name of the module - the synthetic symbol will be discarded.
For more information about synthetic symbols, see Synthetic Symbols.
|Header||dbgeng.h (include Dbgeng.h)|
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.