
i
i
i
i
i
i
i
i
458 16. Programming Stereopsis
16.5.4 Control
The final listing of this section (Listing 16.13) presents the remaining meth-
ods of the CMoviePlayer class which are concerned with controlling the
presentation of the movie: playing it, restarting it or positioning the play-
back point. Most of these tasks are handled through the
IMediaControl,
IMediaPosition and IMediaSeeking interfaces, which offer a large selec-
tion of helpful methods, only a few of which are explictly listed in our code.
Full information is available in the DirectX SDK (DXSDK).
CMoviePlayer::CMoviePlayer() : m_hwnd( NULL ){} // constructor
CMoviePlayer::˜CMoviePlayer(){ Cleanup();} ...