Export (0) Print
Expand All

CDXBaseSurface::OnGetObjectSize Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Called by the base class to determine the object's size, in bytes.


virtual ULONG OnGetObjectSize(VOID) = 0;

Return Value

Returns the size of the surface, in bytes.


The default implementation returns sizeof( *this ). If the object allocates resources, the derived class should override this method to provide more accurate information. This information helps the container manage memory more accurately.

Community Additions

© 2014 Microsoft