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

  1. /*************************************************************************
  2.  * File Name   : seqcmd.rc
  3.  *
  4.  * Description : This file contains the command table definitions for the
  5.  *               MIDI sequencer 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_SEQUENCER
  18. BEGIN
  19.  
  20.  
  21.  
  22. "open",                           MCI_OPEN, 0,                         MCI_COMMAND_HEAD,
  23.    "",                            MCI_INTEGER,                         MCI_RETURN,
  24.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  25.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  26.    "readonly",                    MCI_READONLY,                        MCI_FLAG,
  27.    "shareable",                   MCI_OPEN_SHAREABLE,                  MCI_FLAG,
  28.    "type",                        0L,                                  MCI_STRING,
  29.    "",                            MCI_OPEN_ELEMENT,                    MCI_STRING,
  30.    "alias",                       MCI_OPEN_ALIAS,                      MCI_STRING,
  31. "",                               0L,                                  MCI_END_COMMAND,
  32.  
  33.  
  34.  
  35. "play",                           MCI_PLAY, 0,                         MCI_COMMAND_HEAD,
  36.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  37.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  38.    "from",                        MCI_FROM,                            MCI_INTEGER,
  39.    "to",                          MCI_TO,                              MCI_INTEGER,
  40. "",                               0L,                                  MCI_END_COMMAND,
  41.  
  42.  
  43.  
  44. "close",                          MCI_CLOSE, 0,                        MCI_COMMAND_HEAD,
  45.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  46.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  47. "",                               0L,                                  MCI_END_COMMAND,
  48.  
  49.  
  50.  
  51. "load",                           MCI_LOAD, 0,                         MCI_COMMAND_HEAD,
  52.    "notify",                      MCI_NOTIFY,                          MCI_FLAG,
  53.    "wait",                        MCI_WAIT,                            MCI_FLAG,
  54.    "new",                         0L,                                  MCI_FLAG,
  55.    "readonly",                    MCI_READONLY,                        MCI_FLAG,
  56.    "",                            MCI_OPEN_ELEMENT,                    MCI_DEFAULT_STRING,
  57. "",                               0L,                                  MCI_END_COMMAND,
  58.  
  59.  
  60.  
  61. "set",                             MCI_SET, 0,                        MCI_COMMAND_HEAD,
  62.    "notify",                       MCI_NOTIFY,                        MCI_FLAG,
  63.    "wait",                         MCI_WAIT,                          MCI_FLAG,
  64.    "ON",                           MCI_SET_ON,                        MCI_FLAG,
  65.    "OFF",                          MCI_SET_OFF,                       MCI_FLAG,
  66.    "audio",                        MCI_SET_AUDIO,                     MCI_FLAG,
  67.    "video",                        MCI_SET_VIDEO,                     MCI_FLAG,
  68.    "",                             MCI_SET_TIME_FORMAT,               MCI_CONSTANT,
  69.       "time format milliseconds",  MCI_FORMAT_MILLISECONDS,           MCI_INTEGER,
  70.       "time format ms",            MCI_FORMAT_MILLISECONDS,           MCI_INTEGER,
  71.       "time format mmtime",        MCI_FORMAT_MMTIME,                 MCI_INTEGER,
  72.       "time format song pointer",  MCI_SEQ_SET_SONGPTR,               MCI_INTEGER,
  73.       "time format SMPTE 24",      MCI_SEQ_SET_SMPTE_24,              MCI_INTEGER,
  74.       "time format SMPTE 25",      MCI_SEQ_SET_SMPTE_25,              MCI_INTEGER,
  75.       "time format SMPTE 30 drop", MCI_SEQ_SET_SMPTE_30DROP,          MCI_INTEGER,
  76.       "time format SMPTE 30",      MCI_SEQ_SET_SMPTE_30,              MCI_INTEGER,
  77.    "",                             0L,                                MCI_END_CONSTANT,
  78.    "",                             MCI_SET_SPEED_FORMAT,              MCI_CONSTANT,
  79.       "speed format percentage",   MCI_FORMAT_PERCENTAGE,             MCI_INTEGER,
  80.       "speed format fps",          MCI_FORMAT_FPS,                    MCI_INTEGER,
  81.    "",                             0L,                                 MCI_END_CONSTANT,
  82.    "",                             0L,                                 MCI_CONSTANT,
  83.       "all",                       MCI_SET_AUDIO_ALL,                 MCI_INTEGER,
  84.       "right",                     MCI_SET_AUDIO_RIGHT,               MCI_INTEGER,
  85.       "left",                      MCI_SET_AUDIO_LEFT,                MCI_INTEGER,
  86.    "",                             0L,                                 MCI_END_CONSTANT,
  87.    "",                             0L,                                 MCI_CONSTANT_INTEGER,
  88.       "volume",                    MCI_SET_VOLUME,                    MCI_INTEGER,
  89.       "balance",                   MCI_AMP_SET_BALANCE,               MCI_INTEGER,
  90.       "treble",                    MCI_AMP_SET_TREBLE,                MCI_INTEGER,
  91.       "bass",                      MCI_AMP_SET_BASS,                  MCI_INTEGER,
  92.       "gain",                      MCI_AMP_SET_GAIN,                  MCI_INTEGER,
  93.       "pitch",                     MCI_AMP_SET_PITCH,                 MCI_INTEGER,
  94.    "",                             0L,                                MCI_END_CONSTANT,
  95.    "over",                         MCI_OVER,                          MCI_INTEGER,
  96.    "",                             0L,                                MCI_INTEGER,
  97.    "",                             0L,                                MCI_INTEGER,
  98.    "tempo",                        MCI_SEQ_SET_TEMPO,                 MCI_INTEGER,
  99.    "",                             MCI_SEQ_SET_PORT,                  MCI_CONSTANT,
  100.       "port none",                 MCI_SET_NONE,                      MCI_INTEGER,
  101.       "port mapper",               MCI_MIDI_MAPPER,                   MCI_INTEGER,
  102.    "",                             0L,                                MCI_END_CONSTANT,
  103.    "",                             MCI_SEQ_SET_SLAVE,                 MCI_CONSTANT_INTEGER,
  104.       "slave file",                MCI_SEQ_FILE,                      MCI_INTEGER,
  105.       "slave MIDI",                MCI_SEQ_MIDI,                      MCI_INTEGER,
  106.       "slave none",                MCI_SEQ_NONE,                      MCI_INTEGER,
  107.       "slave SMPTE",               MCI_SEQ_SMPTE,                     MCI_INTEGER,
  108.    "",                             0L,                                MCI_INTEGER,
  109.    "",                             0L,                                MCI_END_CONSTANT,
  110.    "",                             MCI_SEQ_SET_MASTER,                MCI_CONSTANT,
  111.       "master midi",               MCI_SEQ_MIDI,                      MCI_INTEGER,
  112.       "master none",               MCI_SEQ_NONE,                      MCI_INTEGER,
  113.       "master smpte",              MCI_SEQ_SMPTE,                     MCI_INTEGER,
  114.    "",                             0L,                                MCI_END_CONSTANT,
  115.    "offset",                       MCI_SEQ_SET_OFFSET,                MCI_INTEGER,
  116. "",                                0L,                                MCI_END_COMMAND,
  117.  
  118.  
  119.  
  120. "status",                          MCI_STATUS, 0,                     MCI_COMMAND_HEAD,
  121.    "",                             MCI_TIME_FORMAT_RETURN, 0,         MCI_RETURN_TYPE,
  122.       "milliseconds",              MCI_FORMAT_MILLISECONDS,           MCI_RETURN_TYPE_STRING,
  123.       "mmtime",                    MCI_FORMAT_MMTIME,                 MCI_RETURN_TYPE_STRING,
  124.       "percentage",                MCI_FORMAT_PERCENTAGE,             MCI_RETURN_TYPE_STRING,
  125.       "fps",                       MCI_FORMAT_FPS,                    MCI_RETURN_TYPE_STRING,
  126.       "msf",                       MCI_FORMAT_MSF,                    MCI_RETURN_TYPE_STRING,
  127.       "tmsf",                      MCI_FORMAT_TMSF,                   MCI_RETURN_TYPE_STRING,
  128.       "chapters",                  MCI_FORMAT_CHAPTERS,               MCI_RETURN_TYPE_STRING,
  129.       "frames",                    MCI_FORMAT_FRAMES,                 MCI_RETURN_TYPE_STRING,
  130.       "hms",                       MCI_FORMAT_HMS,                    MCI_RETURN_TYPE_STRING,
  131.       "tracks",                    MCI_FORMAT_TRACKS,                 MCI_RETURN_TYPE_STRING,
  132.       "bytes",                     MCI_FORMAT_BYTES,                  MCI_RETURN_TYPE_STRING,
  133.       "samples",                   MCI_FORMAT_SAMPLES,                MCI_RETURN_TYPE_STRING,
  134.       "hmsf",                      MCI_FORMAT_HMSF,                   MCI_RETURN_TYPE_STRING,
  135.       "SMPTE 24",                  MCI_FORMAT_SET_SMPTE_24,           MCI_RETURN_TYPE_STRING,
  136.       "SMPTE 25",                  MCI_FORMAT_SET_SMPTE_25,           MCI_RETURN_TYPE_STRING,
  137.       "SMPTE 30",                  MCI_FORMAT_SET_SMPTE_30,           MCI_RETURN_TYPE_STRING,
  138.       "SMPTE 30drop",              MCI_FORMAT_SET_SMPTE_30DROP,       MCI_RETURN_TYPE_STRING,
  139.       "song pointer",              MCI_FORMAT_SET_SONGPTR,            MCI_RETURN_TYPE_STRING,
  140.    "",                             0L,                                MCI_END_RETURN_TYPE,
  141.    "",                             MCI_SPEED_FORMAT_RETURN, 0,        MCI_RETURN_TYPE,
  142.       "milliseconds",              MCI_FORMAT_MILLISECONDS,           MCI_RETURN_TYPE_STRING,
  143.       "mmtime",                    MCI_FORMAT_MMTIME,                 MCI_RETURN_TYPE_STRING,
  144.       "percentage",                MCI_FORMAT_PERCENTAGE,             MCI_RETURN_TYPE_STRING,
  145.       "fps",                       MCI_FORMAT_FPS,                    MCI_RETURN_TYPE_STRING,
  146.       "msf",                       MCI_FORMAT_MSF,                    MCI_RETURN_TYPE_STRING,
  147.       "tmsf",                      MCI_FORMAT_TMSF,                   MCI_RETURN_TYPE_STRING,
  148.       "chapters",                  MCI_FORMAT_CHAPTERS,               MCI_RETURN_TYPE_STRING,
  149.       "frames",                    MCI_FORMAT_FRAMES,                 MCI_RETURN_TYPE_STRING,
  150.       "hms",                       MCI_FORMAT_HMS,                    MCI_RETURN_TYPE_STRING,
  151.       "tracks",                    MCI_FORMAT_TRACKS,                 MCI_RETURN_TYPE_STRING,
  152.       "bytes",                     MCI_FORMAT_BYTES,                  MCI_RETURN_TYPE_STRING,
  153.       "samples",                   MCI_FORMAT_SAMPLES,                MCI_RETURN_TYPE_STRING,
  154.       "hmsf",                      MCI_FORMAT_HMSF,                   MCI_RETURN_TYPE_STRING,
  155.       "SMPTE 24",                  MCI_FORMAT_SET_SMPTE_24,           MCI_RETURN_TYPE_STRING,
  156.       "SMPTE 25",                  MCI_FORMAT_SET_SMPTE_25,           MCI_RETURN_TYPE_STRING,
  157.       "SMPTE 30",                  MCI_FORMAT_SET_SMPTE_30,           MCI_RETURN_TYPE_STRING,
  158.       "SMPTE 30drop",              MCI_FORMAT_SET_SMPTE_30DROP,       MCI_RETURN_TYPE_STRING,
  159.       "song pointer",              MCI_FORMAT_SET_SONGPTR,            MCI_RETURN_TYPE_STRING,
  160.    "",                             0L,                                MCI_END_RETURN_TYPE,
  161.    "",                             MCI_ON_OFF_RETURN, 0,              MCI_RETURN_TYPE,
  162.       "ON",                        1L,                                MCI_RETURN_TYPE_STRING,
  163.       "OFF",                       0L,                                MCI_RETURN_TYPE_STRING,
  164.    "",                             0L,                                MCI_END_RETURN_TYPE,
  165.    "",                             MCI_TRUE_FALSE_RETURN, 0,          MCI_RETURN_TYPE,
  166.       "TRUE",                      1L,                                MCI_RETURN_TYPE_STRING,
  167.       "FALSE",                     0L,                                MCI_RETURN_TYPE_STRING,
  168.    "",                             0L,                                MCI_END_RETURN_TYPE,
  169.    "",                             MCI_MODE_RETURN, 0,                MCI_RETURN_TYPE,
  170.       "not ready",                 MCI_MODE_NOT_READY,                MCI_RETURN_TYPE_STRING,
  171.       "paused",                    MCI_MODE_PAUSE,                    MCI_RETURN_TYPE_STRING,
  172.       "playing",                   MCI_MODE_PLAY,                     MCI_RETURN_TYPE_STRING,
  173.       "stopped",                   MCI_MODE_STOP,                     MCI_RETURN_TYPE_STRING,
  174.       "recording",                 MCI_MODE_RECORD,                   MCI_RETURN_TYPE_STRING,
  175.       "seeking",                   MCI_MODE_SEEK,                     MCI_RETURN_TYPE_STRING,
  176.    "other",                        0L,                                MCI_END_RETURN_TYPE,
  177.    "",                             MCI_SEQ_SYNCHRONIZATION_RETURN, 0, MCI_RETURN_TYPE,
  178.       "file",                      MCI_SEQ_FILE,                      MCI_RETURN_TYPE_STRING,
  179.       "midi",                      MCI_SEQ_MIDI,                      MCI_RETURN_TYPE_STRING,
  180.       "none",                      MCI_SEQ_NONE,                      MCI_RETURN_TYPE_STRING,
  181.       "SMPTE",                     MCI_SEQ_SMPTE,                     MCI_RETURN_TYPE_STRING,
  182.    "",                             0L,                                MCI_END_RETURN_TYPE,
  183.    "",                             MCI_INTEGER,                       MCI_RETURN,
  184.    "notify",                       MCI_NOTIFY,                        MCI_FLAG,
  185.    "wait",                         MCI_WAIT,                          MCI_FLAG,
  186.    "start",                        MCI_STATUS_START,                  MCI_FLAG,
  187.    "",                             MCI_STATUS_ITEM,                   MCI_CONSTANT,
  188.       "port",                      MCI_SEQ_STATUS_PORT,               MCI_INTEGER,
  189.       "slave",                     MCI_SEQ_STATUS_SLAVE,              MCI_INTEGER,
  190.       "master",                    MCI_SEQ_STATUS_MASTER,             MCI_INTEGER,
  191.       "media present",             MCI_STATUS_MEDIA_PRESENT,          MCI_INTEGER,
  192.       "mode",                      MCI_STATUS_MODE,                   MCI_INTEGER,
  193.       "ready",                     MCI_STATUS_READY,                  MCI_INTEGER,
  194.       "current track",             MCI_STATUS_CURRENT_TRACK,          MCI_INTEGER,
  195.       "length",                    MCI_STATUS_LENGTH,                 MCI_INTEGER,
  196.       "number of tracks",          MCI_STATUS_NUMBER_OF_TRACKS,       MCI_INTEGER,
  197.       "position in track",         MCI_STATUS_POSITION_IN_TRACK,      MCI_INTEGER,
  198.       "position",                  MCI_STATUS_POSITION,               MCI_INTEGER,
  199.       "time format",               MCI_STATUS_TIME_FORMAT,            MCI_INTEGER,
  200.       "speed format",              MCI_STATUS_SPEED_FORMAT,           MCI_INTEGER,
  201.       "audio",                     MCI_STATUS_AUDIO,                  MCI_INTEGER,
  202.       "volume",                    MCI_STATUS_VOLUME,                 MCI_INTEGER,
  203.       "treble",                    MCI_AMP_STATUS_TREBLE,             MCI_INTEGER,
  204.       "bass",                      MCI_AMP_STATUS_BASS,               MCI_INTEGER,
  205.       "pitch",                     MCI_AMP_STATUS_PITCH,              MCI_INTEGER,
  206.       "balance",                   MCI_AMP_STATUS_BALANCE,            MCI_INTEGER,
  207.       "gain",                      MCI_AMP_STATUS_GAIN,               MCI_INTEGER,
  208.       "division type",             MCI_SEQ_STATUS_DIVTYPE,            MCI_INTEGER,
  209.       "offset",                    MCI_SEQ_STATUS_OFFSET,             MCI_INTEGER,
  210.       "tempo",                     MCI_SEQ_STATUS_TEMPO,              MCI_INTEGER,
  211.    "",                             0L,                                MCI_END_CONSTANT,
  212.    "",                             0L,                                MCI_OR,
  213.    "track",                        MCI_TRACK,                         MCI_INTEGER,
  214.    "channel",                      0L,                                MCI_CONSTANT,
  215.       "all",                       MCI_STATUS_AUDIO_ALL,              MCI_INTEGER,
  216.       "left",                      MCI_STATUS_AUDIO_LEFT,             MCI_INTEGER,
  217.       "right",                     MCI_STATUS_AUDIO_RIGHT,            MCI_INTEGER,
  218.       "%d",                        0L,                                MCI_INTEGER,
  219.    "",                             0L,                                MCI_END_CONSTANT,
  220.    "",                             0L,                                MCI_END_OR,
  221. "",                                0L,                                MCI_END_COMMAND,
  222.  
  223.  
  224.  
  225. "",                                0L,                                MCI_END_COMMAND_LIST
  226. END
  227.