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.

Syntax


virtual ULONG OnGetObjectSize(VOID) = 0;

Return Value

Returns the size of the surface, in bytes.

Remarks

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

ADD
Show:
© 2014 Microsoft