home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / toolkit / mm / mcdtbl / wavcmd.rc < prev    next >
Text File  |  1996-11-19  |  32KB  |  424 lines

  1. /*************************************************************************
  2.  * File Name   : wavcmd.rc
  3.  *
  4.  * Description : This file contains the command table definitions for the
  5.  *               waveform audio device.
  6.  *
  7.  * Concepts    : Command table definitions.
  8.  *
  9.  * MMPM/2 API's: None.
  10.  *
  11.  * Required
  12.  *    Files    : See this sample rc files.
  13.  *
  14.  *
  15.  * Copyright (C) IBM 1993
  16.  *************************************************************************/
  17. RCDATA   MCI_DEVTYPE_WAVEFORM_AUDIO
  18. BEGIN
  19.  
  20. "open",                           MCI_OPEN, 0,                         MCI_COMMAND_HEAD,
  21.    "",                            MCI_INTEGER,                         MCI_RETURN,
  22.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  23.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  24.    "readonly",                    MCI_READONLY,                        MCI_FLAG,
  25.    "shareable",                   MCI_OPEN_SHAREABLE,                  MCI_FLAG,
  26.    "type",                        0L,                                  MCI_STRING,
  27.    "",                            MCI_OPEN_ELEMENT,                    MCI_STRING,
  28.    "alias",                       MCI_OPEN_ALIAS,                      MCI_STRING,
  29. "",                               0L,                                  MCI_END_COMMAND,
  30.  
  31.  
  32.  
  33. "play",                           MCI_PLAY, 0,                         MCI_COMMAND_HEAD,
  34.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  35.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  36.    "from",                        MCI_FROM,                            MCI_INTEGER,
  37.    "to",                          MCI_TO,                              MCI_INTEGER,
  38. "",                               0L,                                  MCI_END_COMMAND,
  39.  
  40.  
  41.  
  42. "close",                          MCI_CLOSE, 0,                        MCI_COMMAND_HEAD,
  43.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  44.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  45. "",                               0L,                                  MCI_END_COMMAND,
  46.  
  47.  
  48.  
  49. "load",                           MCI_LOAD, 0,                         MCI_COMMAND_HEAD,
  50.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  51.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  52.    "new",                         0L,                                  MCI_FLAG,
  53.    "readonly",                    MCI_READONLY,                        MCI_FLAG,
  54.    "",                            MCI_OPEN_ELEMENT,                    MCI_DEFAULT_STRING,
  55. "",                               0L,                                  MCI_END_COMMAND,
  56.  
  57.  
  58.  
  59. "copy",                           MCI_COPY, 0,                         MCI_COMMAND_HEAD,
  60.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  61.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  62.    "",                            0L,                                  MCI_INTEGER,
  63.    "from",                        MCI_FROM,                            MCI_INTEGER,
  64.    "to",                          MCI_TO,                              MCI_INTEGER,
  65.    "",                            0L,                                  MCI_INTEGER,
  66.    "",                            0L,                                  MCI_INTEGER,
  67.    "",                            0L,                                  MCI_INTEGER,
  68. "",                               0L,                                  MCI_END_COMMAND,
  69.  
  70.  
  71.  
  72. "cue",                            MCI_CUE, 0,                          MCI_COMMAND_HEAD,
  73.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  74.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  75.    "output",                      MCI_WAVE_OUTPUT,                     MCI_FLAG,
  76.    "input",                       MCI_WAVE_INPUT,                      MCI_FLAG,
  77. "",                               0L,                                  MCI_END_COMMAND,
  78.  
  79.  
  80.  
  81. "cut",                            MCI_CUT, 0,                          MCI_COMMAND_HEAD,
  82.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  83.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  84.    "",                            0L,                                  MCI_INTEGER,
  85.    "from",                        MCI_FROM,                            MCI_INTEGER,
  86.    "to",                          MCI_TO,                              MCI_INTEGER,
  87.    "",                            0L,                                  MCI_INTEGER,
  88.    "",                            0L,                                  MCI_INTEGER,
  89.    "",                            0L,                                  MCI_INTEGER,
  90. "",                               0L,                                  MCI_END_COMMAND,
  91.  
  92.  
  93.  
  94. "delete",                         MCI_DELETE, 0,                       MCI_COMMAND_HEAD,
  95.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  96.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  97.    "",                            0L,                                  MCI_INTEGER,
  98.    "from",                        MCI_FROM,                            MCI_INTEGER,
  99.    "to",                          MCI_TO,                              MCI_INTEGER,
  100.    "",                            0L,                                  MCI_INTEGER,
  101.    "",                            0L,                                  MCI_INTEGER,
  102.    "",                            0L,                                  MCI_INTEGER,
  103. "",                               0L,                                  MCI_END_COMMAND,
  104.  
  105.  
  106.  
  107. "paste",                          MCI_PASTE, 0,                        MCI_COMMAND_HEAD,
  108.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  109.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  110.    "convert",                     MCI_CONVERT_FORMAT,                  MCI_FLAG,
  111.    "",                            0L,                                  MCI_INTEGER,
  112.    "from",                        MCI_FROM,                            MCI_INTEGER,
  113.    "to",                          MCI_TO,                              MCI_INTEGER,
  114.    "",                            0L,                                  MCI_INTEGER,
  115.    "",                            0L,                                  MCI_INTEGER,
  116.    "",                            0L,                                  MCI_INTEGER,
  117. "",                               0L,                                  MCI_END_COMMAND,
  118.  
  119.  
  120.  
  121. "redo",                           MCI_REDO, 0,                         MCI_COMMAND_HEAD,
  122.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  123.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  124. "",                               0L,                                  MCI_END_COMMAND,
  125.  
  126.  
  127.  
  128. "undo",                           MCI_UNDO, 0,                         MCI_COMMAND_HEAD,
  129.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  130.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  131. "",                               0L,                                  MCI_END_COMMAND,
  132.  
  133.  
  134.  
  135. "set",                            MCI_SET, 0,                          MCI_COMMAND_HEAD,
  136.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  137.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  138.    "ON",                          MCI_SET_ON,                          MCI_FLAG,
  139.    "OFF",                         MCI_SET_OFF,                         MCI_FLAG,
  140.    "audio",                       MCI_SET_AUDIO,                       MCI_FLAG,
  141.    "video",                       MCI_SET_VIDEO,                       MCI_FLAG,
  142.    "",                            MCI_SET_TIME_FORMAT,                 MCI_CONSTANT,
  143.       "time format bytes",        MCI_FORMAT_BYTES,                    MCI_INTEGER,
  144.       "time format milliseconds", MCI_FORMAT_MILLISECONDS,             MCI_INTEGER,
  145.       "time format ms",           MCI_FORMAT_MILLISECONDS,             MCI_INTEGER,
  146.       "time format mmtime",       MCI_FORMAT_MMTIME,                   MCI_INTEGER,
  147.       "time format samples",      MCI_FORMAT_SAMPLES,                  MCI_INTEGER,
  148.    "",                            0L,                                  MCI_END_CONSTANT,
  149.    "",                            MCI_SET_SPEED_FORMAT,                MCI_CONSTANT,
  150.       "speed format percentage",  MCI_FORMAT_PERCENTAGE,               MCI_INTEGER,
  151.       "speed format fps",         MCI_FORMAT_FPS,                      MCI_INTEGER,
  152.    "",                            0L,                                  MCI_END_CONSTANT,
  153.    "",                            0L,                                  MCI_CONSTANT,
  154.       "all",                      MCI_SET_AUDIO_ALL,                   MCI_INTEGER,
  155.       "right",                    MCI_SET_AUDIO_RIGHT,                 MCI_INTEGER,
  156.       "left",                     MCI_SET_AUDIO_LEFT,                  MCI_INTEGER,
  157.    "",                            0L,                                  MCI_END_CONSTANT,
  158.    "",                            0L,                                  MCI_CONSTANT_INTEGER,
  159.       "volume",                   MCI_SET_VOLUME,                      MCI_INTEGER,
  160.       "balance",                  MCI_AMP_SET_BALANCE,                 MCI_INTEGER,
  161.       "treble",                   MCI_AMP_SET_TREBLE,                  MCI_INTEGER,
  162.       "bass",                     MCI_AMP_SET_BASS,                    MCI_INTEGER,
  163.       "gain",                     MCI_AMP_SET_GAIN,                    MCI_INTEGER,
  164.       "pitch",                    MCI_AMP_SET_PITCH,                   MCI_INTEGER,
  165.    "",                            0L,                                  MCI_END_CONSTANT,
  166.    "over",                        MCI_OVER,                            MCI_INTEGER,
  167.    "",                            0L,                                  MCI_INTEGER,
  168.    "",                            0L,                                  MCI_INTEGER,
  169.    "",                            0L,                                  MCI_INTEGER,
  170.    "",                            0L,                                  MCI_INTEGER,
  171.    "format tag",                  MCI_WAVE_SET_FORMATTAG,              MCI_CONSTANT,
  172.       "microsoft adpcm",          MCI_WAVE_FORMAT_ADPCM,               MCI_INTEGER,
  173.       "ibm cvsd",                 MCI_WAVE_FORMAT_IBM_CVSD,            MCI_INTEGER,
  174.       "oki adpcm",                MCI_WAVE_FORMAT_OKI_ADPCM,           MCI_INTEGER,
  175.       "dvi adpcm",                MCI_WAVE_FORMAT_DVI_ADPCM,           MCI_INTEGER,
  176.       "digi std",                 MCI_WAVE_FORMAT_DIGISTD,             MCI_INTEGER,
  177.       "digi fix",                 MCI_WAVE_FORMAT_DIGIFIX,             MCI_INTEGER,
  178.       "avc adpcm",                MCI_WAVE_FORMAT_AVC_ADPCM,           MCI_INTEGER,
  179.       "ibm adpcm",                MCI_WAVE_FORMAT_IBM_ADPCM,           MCI_INTEGER,
  180.       "ibm mulaw",                MCI_WAVE_FORMAT_IBM_MULAW,           MCI_INTEGER,
  181.       "ibm alaw",                 MCI_WAVE_FORMAT_IBM_ALAW,            MCI_INTEGER,
  182.       "ct adpcm",                 MCI_WAVE_FORMAT_CT_ADPCM,            MCI_INTEGER,
  183.       "alaw",                     MCI_WAVE_FORMAT_ALAW,                MCI_INTEGER,
  184.       "mulaw",                    MCI_WAVE_FORMAT_MULAW,               MCI_INTEGER,
  185.       "pcm",                      MCI_WAVE_FORMAT_PCM,                 MCI_INTEGER,
  186.    "",                            0L,                                  MCI_END_CONSTANT,
  187.    "channels",                    MCI_WAVE_SET_CHANNELS,               MCI_INTEGER,
  188.    "samplespersec",               MCI_WAVE_SET_SAMPLESPERSEC,          MCI_INTEGER,
  189.    "bytespersec",                 MCI_WAVE_SET_AVGBYTESPERSEC,         MCI_INTEGER,
  190.    "",                            0L,                                  MCI_INTEGER,
  191.    "bitspersample",               MCI_WAVE_SET_BITSPERSAMPLE,          MCI_INTEGER,
  192. "",                               0L,                                  MCI_END_COMMAND,
  193.  
  194.  
  195.  
  196. "status",                         MCI_STATUS, 0,                       MCI_COMMAND_HEAD,
  197.    "",                            MCI_TIME_FORMAT_RETURN, 0,           MCI_RETURN_TYPE,
  198.    "milliseconds",                MCI_FORMAT_MILLISECONDS,             MCI_RETURN_TYPE_STRING,
  199.       "mmtime",                   MCI_FORMAT_MMTIME,                   MCI_RETURN_TYPE_STRING,
  200.       "percentage",               MCI_FORMAT_PERCENTAGE,               MCI_RETURN_TYPE_STRING,
  201.       "fps",                      MCI_FORMAT_FPS,                      MCI_RETURN_TYPE_STRING,
  202.       "msf",                      MCI_FORMAT_MSF,                      MCI_RETURN_TYPE_STRING,
  203.       "tmsf",                     MCI_FORMAT_TMSF,                     MCI_RETURN_TYPE_STRING,
  204.       "chapters",                 MCI_FORMAT_CHAPTERS,                 MCI_RETURN_TYPE_STRING,
  205.       "frames",                   MCI_FORMAT_FRAMES,                   MCI_RETURN_TYPE_STRING,
  206.       "hms",                      MCI_FORMAT_HMS,                      MCI_RETURN_TYPE_STRING,
  207.       "tracks",                   MCI_FORMAT_TRACKS,                   MCI_RETURN_TYPE_STRING,
  208.       "bytes",                    MCI_FORMAT_BYTES,                    MCI_RETURN_TYPE_STRING,
  209.       "samples",                  MCI_FORMAT_SAMPLES,                  MCI_RETURN_TYPE_STRING,
  210.       "hmsf",                     MCI_FORMAT_HMSF,                     MCI_RETURN_TYPE_STRING,
  211.       "SMPTE 24",                 MCI_FORMAT_SET_SMPTE_24,             MCI_RETURN_TYPE_STRING,
  212.       "SMPTE 25",                 MCI_FORMAT_SET_SMPTE_25,             MCI_RETURN_TYPE_STRING,
  213.       "SMPTE 30",                 MCI_FORMAT_SET_SMPTE_30,             MCI_RETURN_TYPE_STRING,
  214.       "SMPTE 30drop",             MCI_FORMAT_SET_SMPTE_30DROP,         MCI_RETURN_TYPE_STRING,
  215.       "song pointer",             MCI_FORMAT_SET_SONGPTR,              MCI_RETURN_TYPE_STRING,
  216.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  217.    "",                            MCI_SPEED_FORMAT_RETURN, 0,          MCI_RETURN_TYPE,
  218.       "milliseconds",             MCI_FORMAT_MILLISECONDS,             MCI_RETURN_TYPE_STRING,
  219.       "mmtime",                   MCI_FORMAT_MMTIME,                   MCI_RETURN_TYPE_STRING,
  220.       "percentage",               MCI_FORMAT_PERCENTAGE,               MCI_RETURN_TYPE_STRING,
  221.       "fps",                      MCI_FORMAT_FPS,                      MCI_RETURN_TYPE_STRING,
  222.       "msf",                      MCI_FORMAT_MSF,                      MCI_RETURN_TYPE_STRING,
  223.       "tmsf",                     MCI_FORMAT_TMSF,                     MCI_RETURN_TYPE_STRING,
  224.       "chapters",                 MCI_FORMAT_CHAPTERS,                 MCI_RETURN_TYPE_STRING,
  225.       "frames",                   MCI_FORMAT_FRAMES,                   MCI_RETURN_TYPE_STRING,
  226.       "hms",                      MCI_FORMAT_HMS,                      MCI_RETURN_TYPE_STRING,
  227.       "tracks",                   MCI_FORMAT_TRACKS,                   MCI_RETURN_TYPE_STRING,
  228.       "bytes",                    MCI_FORMAT_BYTES,                    MCI_RETURN_TYPE_STRING,
  229.       "samples",                  MCI_FORMAT_SAMPLES,                  MCI_RETURN_TYPE_STRING,
  230.       "hmsf",                     MCI_FORMAT_HMSF,                     MCI_RETURN_TYPE_STRING,
  231.       "SMPTE 24",                 MCI_FORMAT_SET_SMPTE_24,             MCI_RETURN_TYPE_STRING,
  232.       "SMPTE 25",                 MCI_FORMAT_SET_SMPTE_25,             MCI_RETURN_TYPE_STRING,
  233.       "SMPTE 30",                 MCI_FORMAT_SET_SMPTE_30,             MCI_RETURN_TYPE_STRING,
  234.       "SMPTE 30drop",             MCI_FORMAT_SET_SMPTE_30DROP,         MCI_RETURN_TYPE_STRING,
  235.       "song pointer",             MCI_FORMAT_SET_SONGPTR,              MCI_RETURN_TYPE_STRING,
  236.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  237.    "",                            MCI_FORMAT_TAG_RETURN, 0,            MCI_RETURN_TYPE,
  238.       "microsoft adpcm",          MCI_WAVE_FORMAT_ADPCM,               MCI_RETURN_TYPE_STRING,
  239.       "ibm cvsd",                 MCI_WAVE_FORMAT_IBM_CVSD,            MCI_RETURN_TYPE_STRING,
  240.       "oki adpcm",                MCI_WAVE_FORMAT_OKI_ADPCM,           MCI_RETURN_TYPE_STRING,
  241.       "dvi adpcm",                MCI_WAVE_FORMAT_DVI_ADPCM,           MCI_RETURN_TYPE_STRING,
  242.       "digi std",                 MCI_WAVE_FORMAT_DIGISTD,             MCI_RETURN_TYPE_STRING,
  243.       "digi fix",                 MCI_WAVE_FORMAT_DIGIFIX,             MCI_RETURN_TYPE_STRING,
  244.       "avc adpcm",                MCI_WAVE_FORMAT_AVC_ADPCM,           MCI_RETURN_TYPE_STRING,
  245.       "ibm adpcm",                MCI_WAVE_FORMAT_IBM_ADPCM,           MCI_RETURN_TYPE_STRING,
  246.       "ibm mulaw",                MCI_WAVE_FORMAT_IBM_MULAW,           MCI_RETURN_TYPE_STRING,
  247.       "ibm alaw",                 MCI_WAVE_FORMAT_IBM_ALAW,            MCI_RETURN_TYPE_STRING,
  248.       "ct adpcm",                 MCI_WAVE_FORMAT_CT_ADPCM,            MCI_RETURN_TYPE_STRING,
  249.       "alaw",                     MCI_WAVE_FORMAT_ALAW,                MCI_RETURN_TYPE_STRING,
  250.       "mulaw",                    MCI_WAVE_FORMAT_MULAW,               MCI_RETURN_TYPE_STRING,
  251.       "pcm",                      MCI_WAVE_FORMAT_PCM,                 MCI_RETURN_TYPE_STRING,
  252.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  253.    "",                            MCI_ON_OFF_RETURN, 0,                MCI_RETURN_TYPE,
  254.       "ON",                       1L,                                  MCI_RETURN_TYPE_STRING,
  255.       "OFF",                      0L,                                  MCI_RETURN_TYPE_STRING,
  256.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  257.    "",                            MCI_TRUE_FALSE_RETURN, 0,            MCI_RETURN_TYPE,
  258.       "TRUE",                     1L,                                  MCI_RETURN_TYPE_STRING,
  259.       "FALSE",                    0L,                                  MCI_RETURN_TYPE_STRING,
  260.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  261.    "",                            MCI_MODE_RETURN, 0,                  MCI_RETURN_TYPE,
  262.       "not ready",                MCI_MODE_NOT_READY,                  MCI_RETURN_TYPE_STRING,
  263.       "paused",                   MCI_MODE_PAUSE,                      MCI_RETURN_TYPE_STRING,
  264.       "playing",                  MCI_MODE_PLAY,                       MCI_RETURN_TYPE_STRING,
  265.       "stopped",                  MCI_MODE_STOP,                       MCI_RETURN_TYPE_STRING,
  266.       "recording",                MCI_MODE_RECORD,                     MCI_RETURN_TYPE_STRING,
  267.       "seeking",                  MCI_MODE_SEEK,                       MCI_RETURN_TYPE_STRING,
  268.    "other",                       0L,                                  MCI_END_RETURN_TYPE,
  269.    "",                            MCI_INTEGER,                         MCI_RETURN,
  270.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  271.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  272.    "start",                       MCI_STATUS_START,                    MCI_FLAG,
  273.    "",                            MCI_STATUS_ITEM,                     MCI_CONSTANT,
  274.       "format tag"   ,            MCI_WAVE_STATUS_FORMATTAG,           MCI_INTEGER,
  275.       "channels",                 MCI_WAVE_STATUS_CHANNELS,            MCI_INTEGER,
  276.       "samplespersec",            MCI_WAVE_STATUS_SAMPLESPERSEC,       MCI_INTEGER,
  277.       "bytespersec",              MCI_WAVE_STATUS_AVGBYTESPERSEC,      MCI_INTEGER,
  278.       "alignment",                MCI_WAVE_STATUS_BLOCKALIGN,          MCI_INTEGER,
  279.       "bitspersample",            MCI_WAVE_STATUS_BITSPERSAMPLE,       MCI_INTEGER,
  280.       "mode",                     MCI_STATUS_MODE,                     MCI_INTEGER,
  281.       "ready",                    MCI_STATUS_READY,                    MCI_INTEGER,
  282.       "current track",            MCI_STATUS_CURRENT_TRACK,            MCI_INTEGER,
  283.       "length",                   MCI_STATUS_LENGTH,                   MCI_INTEGER,
  284.       "clipboard",                MCI_STATUS_CLIPBOARD,                MCI_INTEGER,
  285.       "level",                    MCI_WAVE_STATUS_LEVEL,               MCI_INTEGER,
  286.       "media present",            MCI_STATUS_MEDIA_PRESENT,            MCI_INTEGER,
  287.       "number of tracks",         MCI_STATUS_NUMBER_OF_TRACKS,         MCI_INTEGER,
  288.       "position in track",        MCI_STATUS_POSITION_IN_TRACK,        MCI_INTEGER,
  289.       "position",                 MCI_STATUS_POSITION,                 MCI_INTEGER,
  290.       "time format",              MCI_STATUS_TIME_FORMAT,              MCI_INTEGER,
  291.       "speed format",             MCI_STATUS_SPEED_FORMAT,             MCI_INTEGER,
  292.       "audio",                    MCI_STATUS_AUDIO,                    MCI_INTEGER,
  293.       "volume",                   MCI_STATUS_VOLUME,                   MCI_INTEGER,
  294.       "treble",                   MCI_AMP_STATUS_TREBLE,               MCI_INTEGER,
  295.       "bass",                     MCI_AMP_STATUS_BASS,                 MCI_INTEGER,
  296.       "pitch",                    MCI_AMP_STATUS_PITCH,                MCI_INTEGER,
  297.       "balance",                  MCI_AMP_STATUS_BALANCE,              MCI_INTEGER,
  298.       "gain",                     MCI_AMP_STATUS_GAIN,                 MCI_INTEGER,
  299.    "",                            0L,                                  MCI_END_CONSTANT,
  300.    "",                            0L,                                  MCI_OR,
  301.    "track",                       MCI_TRACK,                           MCI_INTEGER,
  302.    "channel",                     0L,                                  MCI_CONSTANT,
  303.       "all",                      MCI_STATUS_AUDIO_ALL,                MCI_INTEGER,
  304.       "left",                     MCI_STATUS_AUDIO_LEFT,               MCI_INTEGER,
  305.       "right",                    MCI_STATUS_AUDIO_RIGHT,              MCI_INTEGER,
  306.       "%d",                       0L,                                  MCI_INTEGER,
  307.    "",                            0L,                                  MCI_END_CONSTANT,
  308.    "",                            0L,                                  MCI_END_OR,
  309. "",                               0L,                                  MCI_END_COMMAND,
  310.  
  311.  
  312.  
  313. "capability",                     MCI_GETDEVCAPS, 0,                   MCI_COMMAND_HEAD,
  314.    "",                            MCI_PREROLL_TYPE_RETURN, 0,          MCI_RETURN_TYPE,
  315.       "deterministic",            MCI_PREROLL_DETERMINISTIC,           MCI_RETURN_TYPE_STRING,
  316.       "notified",                 MCI_PREROLL_NOTIFIED,                MCI_RETURN_TYPE_STRING,
  317.       "none",                     MCI_PREROLL_NONE,                    MCI_RETURN_TYPE_STRING,
  318.    "none",                        0L,                                  MCI_END_RETURN_TYPE,
  319.    "",                            MCI_TRUE_FALSE_RETURN, 0,            MCI_RETURN_TYPE,
  320.       "TRUE",                     1L,                                  MCI_RETURN_TYPE_STRING,
  321.       "FALSE",                    0L,                                  MCI_RETURN_TYPE_STRING,
  322.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  323.    "",                            MCI_DEVICENAME_RETURN, 0,            MCI_RETURN_TYPE,
  324.       "Videotape",                MCI_DEVTYPE_VIDEOTAPE, 0,            MCI_RETURN_TYPE_STRING,
  325.       "Videodisc",                MCI_DEVTYPE_VIDEODISC, 0,            MCI_RETURN_TYPE_STRING,
  326.       "CDaudio",                  MCI_DEVTYPE_CD_AUDIO,  0,            MCI_RETURN_TYPE_STRING,
  327.       "DAT",                      MCI_DEVTYPE_DAT,       0,            MCI_RETURN_TYPE_STRING,
  328.       "Audiotape",                MCI_DEVTYPE_AUDIO_TAPE,        0,    MCI_RETURN_TYPE_STRING,
  329.       "Other",                    MCI_DEVTYPE_OTHER,             0,    MCI_RETURN_TYPE_STRING,
  330.       "Waveaudio",                MCI_DEVTYPE_WAVEFORM_AUDIO,    0,    MCI_RETURN_TYPE_STRING,
  331.       "Sequencer",                MCI_DEVTYPE_SEQUENCER,         0,    MCI_RETURN_TYPE_STRING,
  332.       "Ampmix",                   MCI_DEVTYPE_AUDIO_AMPMIX,      0,    MCI_RETURN_TYPE_STRING,
  333.       "Overlay",                  MCI_DEVTYPE_OVERLAY,           0,    MCI_RETURN_TYPE_STRING,
  334.       "Digitalvideo",             MCI_DEVTYPE_DIGITAL_VIDEO,     0,    MCI_RETURN_TYPE_STRING,
  335.       "Speaker",                  MCI_DEVTYPE_SPEAKER,           0,    MCI_RETURN_TYPE_STRING,
  336.       "Headphone",                MCI_DEVTYPE_HEADPHONE,         0,    MCI_RETURN_TYPE_STRING,
  337.       "Microphone",               MCI_DEVTYPE_MICROPHONE,        0,    MCI_RETURN_TYPE_STRING,
  338.       "Monitor",                  MCI_DEVTYPE_MONITOR,           0,    MCI_RETURN_TYPE_STRING,
  339.       "CDXA",                     MCI_DEVTYPE_CDXA,              0,    MCI_RETURN_TYPE_STRING,
  340.    "",                            0L,                                  MCI_END_RETURN_TYPE,
  341.    "",                            MCI_INTEGER,                         MCI_RETURN,
  342.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  343.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  344.    "extended",                    MCI_GETDEVCAPS_EXTENDED,             MCI_FLAG,
  345.    "",                            MCI_GETDEVCAPS_ITEM,                 MCI_CONSTANT,
  346.       "can record insert",        MCI_GETDEVCAPS_CAN_RECORD_INSERT,    MCI_INTEGER,
  347.       "can record",               MCI_GETDEVCAPS_CAN_RECORD,           MCI_INTEGER,
  348.       "has audio",                MCI_GETDEVCAPS_HAS_AUDIO,            MCI_INTEGER,
  349.       "has video",                MCI_GETDEVCAPS_HAS_VIDEO,            MCI_INTEGER,
  350.       "can eject",                MCI_GETDEVCAPS_CAN_EJECT,            MCI_INTEGER,
  351.       "can play",                 MCI_GETDEVCAPS_CAN_PLAY,             MCI_INTEGER,
  352.       "can save",                 MCI_GETDEVCAPS_CAN_SAVE,             MCI_INTEGER,
  353.       "uses files",               MCI_GETDEVCAPS_USES_FILES,           MCI_INTEGER,
  354.       "compound device",          MCI_GETDEVCAPS_USES_FILES,           MCI_INTEGER,
  355.       "can lockeject",            MCI_GETDEVCAPS_CAN_LOCKEJECT,        MCI_INTEGER,
  356.       "can setvolume",            MCI_GETDEVCAPS_CAN_SETVOLUME,        MCI_INTEGER,
  357.       "preroll type",             MCI_GETDEVCAPS_PREROLL_TYPE,         MCI_INTEGER,
  358.       "preroll time",             MCI_GETDEVCAPS_PREROLL_TIME,         MCI_INTEGER,
  359.       "device type",              MCI_GETDEVCAPS_DEVICE_TYPE,          MCI_INTEGER,
  360.       "can stream",               MCI_GETDEVCAPS_CAN_STREAM,           MCI_INTEGER,
  361.       "can process internal",     MCI_GETDEVCAPS_CAN_PROCESS_INTERNAL, MCI_INTEGER,
  362.       "format",                   MCI_GETDEVCAPS_WAVE_FORMAT,          MCI_INTEGER,
  363.    "",                            0L,                                  MCI_END_CONSTANT,
  364.    "message",                     MCI_GETDEVCAPS_MESSAGE,              MCI_CONSTANT,
  365.       "acquire",                  MCI_ACQUIREDEVICE, 0,                MCI_INTEGER,
  366.       "release",                  MCI_RELEASEDEVICE, 0,                MCI_INTEGER,
  367.       "open",                     MCI_OPEN, 0,                         MCI_INTEGER,
  368.       "close",                    MCI_CLOSE, 0,                        MCI_INTEGER,
  369.       "escape",                   MCI_ESCAPE, 0,                       MCI_INTEGER,
  370.       "play",                     MCI_PLAY, 0,                         MCI_INTEGER,
  371.       "seek",                     MCI_SEEK, 0,                         MCI_INTEGER,
  372.       "stop",                     MCI_STOP, 0,                         MCI_INTEGER,
  373.       "pause",                    MCI_PAUSE, 0,                        MCI_INTEGER,
  374.       "info",                     MCI_INFO, 0,                         MCI_INTEGER,
  375.       "capability",               MCI_GETDEVCAPS, 0,                   MCI_INTEGER,
  376.       "status",                   MCI_STATUS, 0,                       MCI_INTEGER,
  377.       "spin",                     MCI_SPIN, 0,                         MCI_INTEGER,
  378.       "set",                      MCI_SET, 0,                          MCI_INTEGER,
  379.       "step",                     MCI_STEP, 0,                         MCI_INTEGER,
  380.       "record",                   MCI_RECORD, 0,                       MCI_INTEGER,
  381.       "sysinfo",                  MCI_SYSINFO, 0,                      MCI_INTEGER,
  382.       "save",                     MCI_SAVE, 0,                         MCI_INTEGER,
  383.       "cue",                      MCI_CUE, 0,                          MCI_INTEGER,
  384.       "update",                   MCI_UPDATE, 0,                       MCI_INTEGER,
  385.       "setcuepoint",              MCI_SET_CUEPOINT, 0,                 MCI_INTEGER,
  386.       "setpositionadvise",        MCI_SET_POSITION_ADVISE, 0,          MCI_INTEGER,
  387.       "setsyncoffset",            MCI_SET_SYNC_OFFSET, 0,              MCI_INTEGER,
  388.       "load",                     MCI_LOAD, 0,                         MCI_INTEGER,
  389.       "masteraudio",              MCI_MASTERAUDIO, 0,                  MCI_INTEGER,
  390.       "gettoc",                   MCI_GETTOC, 0,                       MCI_INTEGER,
  391.       "connector",                MCI_CONNECTOR, 0,                    MCI_INTEGER,
  392.       "resume",                   MCI_RESUME, 0,                       MCI_INTEGER,
  393.    "",                            0L,                                  MCI_END_CONSTANT,
  394.    "",                            0L,                                  MCI_INTEGER,
  395.    "bitspersample",               0L,                                  MCI_INTEGER,
  396.    "tag",                         0L,                                  MCI_CONSTANT,
  397.       "microsoft adpcm",          MCI_WAVE_FORMAT_ADPCM,               MCI_INTEGER,
  398.       "ibm cvsd",                 MCI_WAVE_FORMAT_IBM_CVSD,            MCI_INTEGER,
  399.       "oki adpcm",                MCI_WAVE_FORMAT_OKI_ADPCM,           MCI_INTEGER,
  400.       "dvi adpcm",                MCI_WAVE_FORMAT_DVI_ADPCM,           MCI_INTEGER,
  401.       "digi std",                 MCI_WAVE_FORMAT_DIGISTD,             MCI_INTEGER,
  402.       "digi fix",                 MCI_WAVE_FORMAT_DIGIFIX,             MCI_INTEGER,
  403.       "avc adpcm",                MCI_WAVE_FORMAT_AVC_ADPCM,           MCI_INTEGER,
  404.       "ibm adpcm",                MCI_WAVE_FORMAT_IBM_ADPCM,           MCI_INTEGER,
  405.       "ibm mulaw",                MCI_WAVE_FORMAT_IBM_MULAW,           MCI_INTEGER,
  406.       "ibm alaw",                 MCI_WAVE_FORMAT_IBM_ALAW,            MCI_INTEGER,
  407.       "ct adpcm",                 MCI_WAVE_FORMAT_CT_ADPCM,            MCI_INTEGER,
  408.       "alaw",                     MCI_WAVE_FORMAT_ALAW,                MCI_INTEGER,
  409.       "mulaw",                    MCI_WAVE_FORMAT_MULAW,               MCI_INTEGER,
  410.       "pcm",                      MCI_WAVE_FORMAT_PCM,                 MCI_INTEGER,
  411.    "",                            0L,                                  MCI_END_CONSTANT,
  412.    "samplespersec",               0L,                                  MCI_INTEGER,
  413.    "channels",                    0L,                                  MCI_INTEGER,
  414.    "mode",                        0L,                                  MCI_CONSTANT,
  415.       "play",                     MCI_PLAY, 0,                         MCI_INTEGER,
  416.       "record",                   MCI_RECORD, 0,                       MCI_INTEGER,
  417.    "",                            0L,                                  MCI_END_CONSTANT,
  418. "",                               0L,                                  MCI_END_COMMAND,
  419.  
  420.  
  421.  
  422. "",                               0L,                                  MCI_END_COMMAND_LIST
  423. END
  424.