IDebugSymbols2::GetOffsetTypeId method (dbgeng.h)

The GetOffsetTypeId method returns the type ID of the symbol closest to the specified memory location.

Syntax

HRESULT GetOffsetTypeId(
  [in]            ULONG64  Offset,
  [out]           PULONG   TypeId,
  [out, optional] PULONG64 Module
);

Parameters

[in] Offset

Specifies the location in the target's memory for the symbol. The symbol closest to this location is used.

[out] TypeId

Receives the type ID of the symbol.

[out, optional] Module

Specifies the location in the target's memory address space of the base of the module to which the symbol belongs. 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

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