IDiaSymbol::get_virtualBaseTableType

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the type of a virtual base table pointer.

Syntax

HRESULT get_virtualBaseTableType(
   IDiaSymbol *pRetVal
};

Parameters

Parameter Description
pRetVal [out] Returns an IDiaSymbol object that specifies the type of base table.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

Note

A return value of S_FALSE means the property is not available for the symbol.

Remarks

A virtual base table pointer (vbtptr) is a hidden pointer in a Visual C++ vtable that handles inheritance from virtual base classes. A vbtptr can have different sizes depending on the inherited classes.

This method returns an IDiaSymbol object that can be used to determine the size of the vbtptr.

Requirements

Requirement Description
Header: dia2.h
Version: DIA SDK v8.0

See also