Debugging Tools for Windows

GetTypeSize

The GetTypeSize method returns the number of bytes of memory an instance of the specified type requires.

HRESULT
  IDebugSymbols::GetTypeSize(
    IN ULONG64  Module,
    IN ULONG  TypeId,
    OUT PULONG  Size
    );

Parameters

Module
Specifies the base address of the module containing the type. For more information, see Modules.
TypeId
Specifies the type ID of the type.
Size
Receives the number of bytes of memory an instance of the specified type requires.

Return Value

S_OK
The method was successful

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

Interface Version

GetTypeSize 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

GetTypeName

Build machine: CAPEBUILD