Files Included with the Data Source Sample
The following table describes the contents of each source file used in the sample plug-in.
Source file |
Description |
---|---|
SDKSampleStoragePlugin.cpp |
This file implements generic code required for dll connectivity. |
SDKSampleStorageSystem.cpp |
This file implements the main functionality of the sample plug-in by implementing the IWMSBasicPluginIWMSBasicPlugin Interface, the IWMSDataContainerIWMSDataContainer Interface, and the IWMSDataSourcePluginIWMSDataSourcePlugin Interface. The CSampleDataContainer::Initialize method in this sample prepares a file for access as needed by Windows Media Services. When Windows Media Services requests more data for streaming the CSampleDataContainer::Read method is called to buffer more data from the media file. |