Debugging Tools for Windows

GetOffsetTypeId

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

HRESULT
  IDebugSymbols::GetOffsetTypeId(
    IN ULONG64  Offset,
    OUT PULONG  TypeId,
    OUT OPTIONAL PULONG64  Module
    );

Parameters

Offset
Specifies the location in the target's memory for the symbol. The symbol closest to this location is used.
TypeId
Receives the type ID of the symbol.
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

S_OK
The method was successful

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

Interface Version

GetOffsetTypeId is available in all versions of IDebugSymbols.

Comments

For more information about symbols, see Symbols.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

GetTypeId, GetSymbolTypeId

Build machine: CAPEBUILD