Implementing an ltmmPlay Object

To implement the ltmmPlay object you should use the following steps:

1.

Create an instance of the ltmmPlay Object, acquiring the IltmmPlay Interface.

2.

Set an event callback using SetNotifyWindow.

3.

Set a video frame window using put_VideoWindowFrame.

4.

Specify the media data source (i.e. file). By default, the playback will begin automatically.

5.

Handle ltmmPlay_Notify messages until end of playback.