home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / mmpm2src / doubplay / doubapp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-18  |  1.7 KB  |  57 lines

  1.  
  2. /*************************************************************************
  3.  * File Name    :  doubapp.h
  4.  *
  5.  * Description  :  This file contains the definitions used by the application.
  6.  *
  7.  * Concepts     :  n/a
  8.  *
  9.  * MMPM/2 API's :  n/a
  10.  *
  11.  * Required
  12.  *    Files     :  None.
  13.  *
  14.  *
  15.  * Copyright (C) IBM 1993
  16.  *************************************************************************/
  17.  
  18.  
  19. /* MMPM/2 Playlist Defines needed by the application */
  20. #define DATA_OPERATION                                          0
  21. #define BRANCH_OPERATION                                        1
  22. #define LOOP_OPERATION                                          2
  23. #define CALL_OPERATION                                          3
  24. #define RETURN_OPERATION                                        4
  25. #define EXIT_OPERATION                                          5
  26. #define NOP_OPERATION                                           6
  27. #define MESSAGE_OPERATION                                       7
  28. #define CUEPOINT_OPERATION                                      8
  29.  
  30. /*
  31.  * MMPM/2 Playlist strucuture which contains the commands,
  32.  * and the operands.
  33.  */
  34. typedef struct pls
  35. {
  36.    ULONG ulCommand;
  37.    ULONG ulOperandOne;
  38.    ULONG ulOperandTwo;
  39.    ULONG ulOperandThree;
  40. } PLAY_LIST_STRUCTURE_T;
  41.  
  42. #define MAXSIZE    2*1024
  43. #define MAXBUFF    10
  44.  
  45. USHORT ShowAMessage( USHORT usTitleId,
  46.                      USHORT usTextId,
  47.                      ULONG  ulMessageBoxStyle,
  48.                      BOOL   fMCIError);
  49.  
  50. void _Optlink PlayTheWave();
  51.  
  52. /* State of the application i.e. if it is playing or stopped */
  53. #define STATE_IS_PLAYING 1
  54. #define STATE_IS_STOP 2
  55.  
  56. #define STRING_SIZE 356
  57.