Microsoft DirectX 9.0

PlayWnd Sample


PlayWnd is a simple media player application.


Source: (SDK root)\Samples\C++\DirectShow\Players\PlayWnd

Executable: (SDK root)\Samples\C++\DirectShow\Bin\PlayWnd.exe

User's Guide

The playback file can be specified as a command-line argument. Otherwise, the application displays an Open File dialog box on start-up. The selected file automatically begins playing.

If the media contains video, the player resizes its client area to the video's preferred size. If the media contains no video, only audio, the player displays a small default window.

The player supports the following keyboard commands: