Debugging Tools for Windows

GetTypeSize

The GetTypeSize function returns the size in the target's memory of an instance of the specified type.

ULONG
GetTypeSize (
   IN LPCSTR  Type
    );

Parameters

Type
Specifies the type to return the size of.

Return Value

This function returns the size of an instance of the specified type.

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Build machine: CAPEBUILD