The
TDx_DrawSurface::IsLost
method
will
determine
whether
a
surface's
associated
memory
has
been
lost.
Possible
ways
memory
could
be
lost
may
be
the
changing
of
display
card
mode
or
another
application
getting
exclusive
access
to
the
display
card
and
freeing
all
of
the
previously
allocated
surface
memory.