Share via


IWMSDataContainer Interface

banner art

Previous Next

IWMSDataContainer Interface

The IWMSDataContainer interface represents a data container. A data container can be a file, a directory, a live stream, or some other content source. The IWMSDataContainer interface contains methods that support a data container. The methods are called by the server and implemented by a data source plug-in. The following diagram illustrates the plug-ins that work together to move content from a data source to the client.

Data path diagram.

The data source plug-in retrieves data from a source and places it into a buffer. Each type of source requires a specialized plug-in. The media parser plug-in creates a packet list of offsets into the buffer. The data sink plug-in writes the data to the client.

  • Note   This interface is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

In addition to the methods inherited from IUnknown, the IWMSDataContainer interface exposes the following methods.

Method Description
DoDataContainerExtendedCommand Not implemented in this release.
FinishParsingPacketlist Modifies data that is sent to a media parser after the media parser has converted it into one or more packet lists.
GetContainerFormat Retrieves a GUID that identifies the format of the data container.
GetDataSourcePlugin Retrieves a pointer to the data source plug-in.
GetInfo Retrieves information about the data container.
GetTransferParameters Retrieves the optimal offset and buffer size to use for read and write access
Read Reads data from the data container.
Write Writes data from a buffer to the data container.

See Also

Previous Next