Skip to content

Latest commit

 

History

History
108 lines (77 loc) · 3.89 KB

nf-dbgeng-idebugsymbolgroup-outputastype.md

File metadata and controls

108 lines (77 loc) · 3.89 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:dbgeng.IDebugSymbolGroup.OutputAsType
IDebugSymbolGroup::OutputAsType (dbgeng.h)
The IDebugSymbolGroup::OutputAsType method changes the type of a symbol in a symbol group. The symbol's entry is updated to represent the new type.
debugger\outputastype.htm
debugger
05/03/2018
IDebugSymbolGroup::OutputAsType
ComOther_6805cc12-0d46-4114-a40d-54c7e32b3c7c.xml, IDebugSymbolGroup interface [Windows Debugging],OutputAsType method, IDebugSymbolGroup.OutputAsType, IDebugSymbolGroup2 interface [Windows Debugging],OutputAsType method, IDebugSymbolGroup2::OutputAsType, IDebugSymbolGroup::OutputAsType, OutputAsType, OutputAsType method [Windows Debugging], OutputAsType method [Windows Debugging],IDebugSymbolGroup interface, OutputAsType method [Windows Debugging],IDebugSymbolGroup2 interface, dbgeng/IDebugSymbolGroup2::OutputAsType, dbgeng/IDebugSymbolGroup::OutputAsType, debugger.outputastype
dbgeng.h
Dbgeng.h
Desktop
Windows
IDebugSymbolGroup::OutputAsType
dbgeng/IDebugSymbolGroup::OutputAsType
APIRef
kbSyntax
COM
dbgeng.h
IDebugSymbolGroup::OutputAsType

IDebugSymbolGroup::OutputAsType

-description

The OutputAsType method changes the type of a symbol in a symbol group. The symbol's entry is updated to represent the new type.

-parameters

-param Index [in]

The index of the entry in this symbol group. The index of a symbol is an identification number. The index ranges from zero through the number of symbols in the symbol group minus one.

-param Type [in]

The name of the type of the symbol that you want. If the name begins with an exclamation mark (!), the name is treated as an extension. For more information about how to use an extension as a type, see the Remarks section.

-returns

Return code Description
S_OK
The method was successful.
 

This method can also return error values. For more information, see Return Values.

-remarks

Because the children of the new entry type might differ from the children of the old entry type, the OutputAsType method removes all of the children of the entry from the symbol group. You can add the children back by using the ExpandSymbol method.

If Type is an extension, the address of the symbol is passed to the extension. Every line of output from the extension becomes a child symbol of the specified symbol. These child symbols are text and you cannot manipulate them in any way. For example, if the name of a variable is @$teb, you can change its type to !teb.

For more information about symbol groups, see Scopes and Symbol Groups.

-see-also

ExpandSymbol

GetNumberSymbols

IDebugSymbolGroup

IDebugSymbolGroup2