| Debugging Tools for Windows | 
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
    );
This method may also return error values. See Return Values for more details.
GetTypeSize is available in all versions of IDebugSymbols.
For more information about symbols, see Symbols.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.