Microsoft DirectX 9.0

Multimedia Streaming Sample Code

This article provides sample code that implements the multimedia streaming interfaces. The video streaming sample code demonstrates how to read a file and render it to a primary Microsoft® DirectDraw® surface. For brevity, this code contains no error checking.

The second code sample demonstrates how to use the audio streaming interfaces to stream audio data.

This article contains the following sections.