Share via


Files Included with the Data Source Sample

banner art

Previous Next

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 IWMSBasicPlugin interface, the IWMSDataContainer interface, and the IWMSDataSourcePlugin 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.

See Also

Previous Next