IDiaSymbol::get_virtualBaseTableType

Retrieves the type of a virtual base table pointer.

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

Reference

IDiaSymbol