home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / lbmix04.zip / Source / LBMix.h < prev    next >
C/C++ Source or Header  |  2000-05-02  |  3KB  |  85 lines

  1. /* 
  2.  
  3. LBMix - A mixer for Crystal Semiconductor IOCTL90 by Lesha Bogdanow
  4. Copyright (C) 1999-2000  Lesha Bogdanow
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20.  */
  21.  
  22. #define USE_OS2_TOOLKIT_HEADERS
  23. #define INCL_WIN
  24. #define INCL_HELP
  25. #define INCL_WINHEAP
  26. #define INCL_WINMENU           /* For menu control function */
  27. #define INCL_WINDIALOGS
  28. #define INCL_WINMESSAGEMGR
  29. #define INCL_DOSPROCESS               /* For init function */
  30. #define INCL_GPI
  31. #define INCL_BASE
  32. #define INCL_ERRORS
  33. #define INCL_DOSMODULEMGR
  34. #define INCL_DOSSEMAPHORES
  35. #define INCL_DOSDEVICES
  36. #define INCL_DOSFILEMGR
  37. #define INCL_DOSQUEUES
  38. #define INCL_DOSPROCESS
  39. #define INCL_DOSMEMMGR
  40. #define INCL_DOSDATETIME
  41. #define INCL_DOSRESOURCES
  42. #define INCL_MCIOS2
  43. #define INCL_OS2MM
  44.  
  45. #include <stddef.h>
  46. #include <malloc.h>
  47. #include <stdio.h>
  48. #include <stdlib.h>
  49. #include <string.h>
  50. #include <os2.h>
  51. #include <os2me.h>
  52. #include <audio.h>
  53.  
  54.  
  55. #define RETURN_SUCCESS          0         /* successful return in DosExit    */
  56. #define RETURN_ERROR          1         /* error return in DosExit        */
  57. #define BEEP_WARN_FREQ         60         /* frequency of warning beep        */
  58. #define BEEP_WARN_DUR        100         /* duration of warning beep        */
  59. #define MESSAGELEN         80         /* maximum length for messages        */
  60.  
  61. int MyCallBack();
  62. INT    main(int argc, char *argv[]);
  63. BOOL    Init(VOID);
  64. LONG    MessageBox(HWND, LONG, PSZ, LONG, BOOL);
  65. VOID APIENTRY ExitProc(ULONG);
  66. MRESULT EXPENTRY MainWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  67. MRESULT EXPENTRY ControlWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  68. MRESULT EXPENTRY ButtonWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  69. MRESULT EXPENTRY StaticWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  70. MRESULT EXPENTRY SliderWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  71. MRESULT EXPENTRY ListboxWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  72. MRESULT EXPENTRY SettingsDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  73. MRESULT EXPENTRY AboutDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  74. MRESULT EXPENTRY InfoDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  75. MRESULT EXPENTRY ColorDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  76. MRESULT EXPENTRY ControlsDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  77. MRESULT EXPENTRY LayoutDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  78. MRESULT EXPENTRY OtherDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  79.  
  80. #define MINLOCKRATE    1
  81. #define MAXLOCKRATE    10000
  82.  
  83. #include "LBMixRes.h"
  84. #include "LBMixLay.h"
  85.