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 GetSize method returns the size of the type (as if one had done sizeof(type) in C++).
Syntax
HRESULT GetSize(
ULONG64 *size
);
Parameters
size
The size of the type will be returned here.
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Sample Code
ComPtr<IDebugHostType> spType; /* get a type (see FindTypeByName) */
ULONG64 size;
if (SUCCEEDED(spType->GetSize(&size)))
{
// size is equivalent to sizeof( <type> )
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |