Partager via


IDebugObject::GetSize

Gets the size of the object in bytes.

HRESULT GetSize( 
   UINT* pnSize
);
int GetSize(
   out uint pnSize
);

Parameters

  • pnSize
    [out] Returns the size in bytes.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Use the IDebugObject::GetValue method to retrieve the value as a sequence of bytes.

See Also

Reference

IDebugObject

IDebugObject::GetValue