The following figure illustrates the interaction between the Movie Sample program and the Media Device Manager (MDM). Source code for the Movie Sample is located in the \TOOLKIT\SAMPLES\MM\MOVIE subdirectory.

             ┌─────────────────┐    ┌─────────────────┐
             │     Movie       ├───│    Initialize   │
             │     Sample      │(1) │      Open       │
             │                 │    │     Device      │
             └──┬───────────┬──┘    └─────────────────┘
  Application  (2)         (3) Default
    Window                   Window
             ┌─────────────────┐
             │     Media       │
             │     Device      │
             │    Manager      │
             └───────┬─────────┘
                    (4)
                     
             ┌─────────────────┐
             │     Digital     │
             │      Video      │
             │       MCD       │
             └─────────────────┘