IDebugSymbols3::GetSymbolTypeId method (dbgeng.h)

The GetSymbolTypeId method returns the type ID and module of the specified symbol.

Syntax

HRESULT GetSymbolTypeId(
  [in]            PCSTR    Symbol,
  [out]           PULONG   TypeId,
  [out, optional] PULONG64 Module
);

Parameters

[in] Symbol

Specifies the expression whose type ID is requested. See the Remarks section for details on the syntax of this expression.

[out] TypeId

Receives the type ID.

[out, optional] Module

Receives the base address of the module containing the symbol. For more information, see Modules. If Module is NULL, this information is not returned.

Return value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful

Remarks

The Symbol expression may contain structure fields, pointer dereferencing, and array dereferencing -- for example my_struct.some_field[0].

For more information about symbols, see Symbols.

Requirements

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

See also

GetSymbolTypeId

GetTypeId

IDebugSymbols

IDebugSymbols2

IDebugSymbols3