IDebugSymbols3::GetTypeSize method (dbgeng.h)

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

Syntax

HRESULT GetTypeSize(
  [in]  ULONG64 Module,
  [in]  ULONG   TypeId,
  [out] PULONG  Size
);

Parameters

[in] Module

Specifies the base address of the module containing the type. For more information, see Modules.

[in] TypeId

Specifies the type ID of the type.

[out] Size

Receives the number of bytes of memory an instance of the specified type requires.

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

GetTypeName

IDebugSymbols

IDebugSymbols2

IDebugSymbols3