Data Source Plug-in Sample

The WMS SDK Sample Data Source plug-in illustrates how to write a Windows Media Services data source plug-in and demonstrates how you can make your own data source plug-in for streaming data.

The sample implements basic streaming media and playlist files from a Windows-compatible file system, such as FAT32, and it works in much the same way as the WMS File Data Source plug-in included with Windows Media Services. If the sample plug-in is enabled, and the server attempts to stream a file or playlist with the URL prefix sample://, then the sample plug-in will be used as the data source plug-in for that operation.

Note

   If you are using this sample from the Platform SDK, you must register it before you can compile with Visual Studio. To do this, click Start, point to Programs, point to Microsoft Platform SDK for Windows Server or the equivalent on your computer, point to Visual Studio Registration, and then click Register PSDK Directories with Visual Studio.

The following sections discuss the WMS SDK Sample Data Source plug-in in more detail.

See Also

Concepts

Creating Data Source Plug-ins

Custom Plug-in Interfaces (C++)

Samples_wms_sdk_1