Debugging Tools for Windows |
The CreateSymbolGroup and CreateSymbolGroup2 methods create a new symbol group.
HRESULT
IDebugSymbols::CreateSymbolGroup(
OUT IDebugSymbolGroup * * Group
);
HRESULT
IDebugSymbols3::CreateSymbolGroup2(
OUT IDebugSymbolGroup2 * * Group
);
This method may also return error values. See Return Values for more details.
CreateSymbolGroup is available in all versions of IDebugSymbols. CreateSymbolGroup2 is available in IDebugSymbols3 and later versions.
The newly created symbol group is empty; it does not contain any symbols. Symbols may be added to the symbol group using IDebugSymbolGroup::AddSymbol.
References to the returned object are managed like other COM objects, using the IUnknown::AddRef and IUnknown::Release methods. In particular, the IUnknown::Release method must be called when the returned object is no longer needed. See COM Interfaces for more information about using COM interfaces in the Debugger Engine API.
For more information about symbol groups, see Scopes and Symbol Groups.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.