Program Flow

The following figure illustrates the interaction between the captioning components and the media control interface layer. Source code for the Caption Sample Application and Caption DLL are located respectively in the \TOOLKIT\SAMPLES\MM\CAPSAMP and \TOOLKIT\SAMPLES\MM\CAPDLL subdirectories.

┌───────────────────┐
│      Caption      │
│      Sample       ├───(2D)──────┐
│    Application    │             │
└┬──┬──┬──┬──┬──┬──┬┘             │
(2)(3)(4)(1)(2)(4)(5)             │
 │  │  │                      │
 │  │  │ ┌───────────────┐     ┌──┴────┐
 │  │  │ │  Caption DLL  │(2D) │Caption│
 │  │  │ │               │     │ File  │
 │  │  │ └┬──────────────┘     └───────┘
 │  │  │ (2B) 
 │  │  │  │  (2C)
----------│-----------------------------------
┌───────────────────────────┐     OS/2 Multimedia
│   Media Control Interface │
└───────────────────────────┘