Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IsVirtual method indicates whether a particular base class is a virtual base class. This distinction is important in the context of class hierarchies, especially when handling virtual inheritance scenarios.
Syntax
HRESULT IsVirtual(
bool *pIsVirtual
);
Parameters
pIsVirtual
A pointer to a boolean that will be set to true if the base class is a virtual base class; otherwise, it will be set to false.
Remarks
If a base class is determined to be virtual, it signifies that the memory ___location cannot be resolved with a simple offset. In such cases, calling methods like GetOffset may fail, returning an error code of E_NOT_SET, and developers will need to utilize other methods available through the IDebugHostBaseClass2 interface.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |