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.
This method determines the run-time type of an object.
HRESULT ResolveRuntimeType(
IDebugObject* pObject,
IDebugField** ppResolved
);
int ResolveRuntimeType(
IDebugObject pObject,
out IDebugField ppResolved
);
Parameters
pObject
[in] The IDebugObject to be resolved.ppResolved
[out] Returns the type of the object as an IDebugField.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The run-time type of an object is not always known at compile time. For example, using polymorphism, an argument can be passed to a function as its base class, such as a button class. The actual argument might be a derived class, such as a radio button class.