IDebugSymbolGroup2::GetSymbolTypeName method (dbgeng.h)

The GetSymbolTypeName methods return the name of the specified symbol's type.

Syntax

HRESULT GetSymbolTypeName(
  [in]            ULONG  Index,
  [out, optional] PSTR   Buffer,
  [in]            ULONG  BufferSize,
  [out, optional] PULONG NameSize
);

Parameters

[in] Index

The index of the symbol whose type name you want. 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.

[out, optional] Buffer

The name of the symbol's type. If Buffer is NULL, this information is not returned.

[in] BufferSize

The size, in characters, of the Buffer buffer. This size includes the space for the '\0' terminating character.

[out, optional] NameSize

The size, in characters, of the name of the symbol's type. This size includes the space for the '\0' terminating character. If NameSize is NULL, this information is not returned.

Return value

Return code Description
S_OK
The method was successful.
S_FALSE
The size of the buffer was smaller than the size of the name of the symbol's type. The buffer is filled with the truncated name.
 

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

Remarks

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

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

GetNumberSymbols

IDebugSymbolGroup2

IDebugSymbols::GetTypeName