Microsoft DirectX 9.0

MSVidFilePlaybackDevice Object

This topic applies to Windows XP Service Pack 1 only.

The MSVIdFilePlaybackDevice object represents a file-playback input device.

This object has the following CLSID:

{37B0353C-A4C8-11d2-B634-00C04F79498E}

To play back a local file with the Video Control, pass the file name to the MSVidCtl.View method. If the method succeeds, you can get the MSVidFilePlaybackDevice object from the MSVidCtl.InputActive property.

This object inherits all of the properties and methods of the IMSVidPlayback object. In addition, it supports the following properties and events.

Property Description
FileName Sets or retrieves the name of the file to play.

Event Description
EndOfMedia Called when playback reaches the end of the file.