Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The GetOffset method returns the offset of the base class from the base address of the derived class. Such offset may be zero or may be a positive unsigned 64-bit value.
Syntax
HRESULT GetOffset(
ULONG64 *offset
);
Parameters
offset
The offset of the base class from the base address of the derived class is returned here.
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Code Sample
ComPtr<IDebugHostBaseClass2> spBaseClass; /* get a base class symbol (see
EnumerateChildren) */
ULONG64 offset;
if (SUCCEEDED(spBaseClass->GetOffset(&offset)))
{
// offset indicates the position of the base class relative to the
// start of its parent class.
}
Requirements
| Requirement | Value |
|---|---|
| Header | dbgmodel.h |