home *** CD-ROM | disk | FTP | other *** search
/ CICA 1992 November / CICA_MS_Windows_CD-ROM_Walnut_Creek_November_1992.iso / win3 / sounds / sndexamp / sound.xlm (.txt) < prev   
Excel Spreadsheet  |  1991-10-02  |  6KB  |  88 lines

  1. Sheet: 
  2. (0, 0)        
  3. (0, 1)        Sound Macros
  4. (1, 0)        
  5. (1, 1)        written by James D. Rudnicki
  6. (2, 1)         jdrudnicki@lbl.gov
  7. (3, 1)         October 1, 1991
  8. (4, 1)          for use with the DSOUND.DLL library
  9. (7, 0)        PlayErrorSound
  10. (7, 1)        PlayErrorSound()
  11. (7, 2)        comments
  12. (8, 0)        
  13. (8, 1)        
  14. (8, 2)        
  15. (9, 0)        DLLGetProfileString
  16. (9, 2)        access the DLL to get profile strings - idGetProfileString is #8
  17. (10, 0)        
  18. (10, 2)        
  19. (11, 0)        ErrorFile
  20. (11, 2)        search the WIN.INI file for string
  21. (12, 0)        
  22. (12, 2)        
  23. (13, 0)        
  24. (13, 2)        if no entry, normal beep
  25. (14, 0)        
  26. (14, 2)        
  27. (15, 0)        
  28. (15, 2)        else, play the sound
  29. (16, 0)        
  30. (16, 2)        
  31. (17, 0)        
  32. (17, 2)        
  33. (18, 0)        
  34. (18, 2)        
  35. (19, 0)        
  36. (19, 2)        
  37. (20, 0)        NoFFDLL
  38. (20, 1)        NoFFDLL
  39. (20, 2)        
  40. (21, 0)        
  41. (21, 2)        
  42. (22, 0)        
  43. (22, 2)        
  44. (23, 0)        
  45. (23, 2)        
  46. (24, 0)        
  47. (24, 1)        
  48. (24, 2)        
  49. (27, 0)        PlaySound
  50. (27, 1)        PlaySound
  51. (27, 2)        comments
  52. (28, 0)        
  53. (28, 2)        
  54. (29, 0)        
  55. (29, 2)        makes the function run whenever a calculation occurs
  56. (30, 0)        
  57. (30, 2)        if no name, normal beep
  58. (31, 0)        
  59. (31, 2)        
  60. (32, 0)        
  61. (32, 2)        else, play the sound
  62. (33, 0)        DLLPlaySoundFile
  63. (33, 2)        reg the DLL routine
  64. (34, 0)        
  65. (34, 2)        error check
  66. (35, 0)        
  67. (35, 2)        play the sound
  68. (36, 0)        
  69. (36, 2)        remove DLL
  70. (37, 0)        
  71. (37, 2)        
  72. (38, 0)        
  73. (38, 2)        
  74. (39, 0)        
  75. (39, 2)        
  76. (40, 0)        NoSoundDLL
  77. (40, 1)        NoSoundDLL
  78. (40, 2)        
  79. (41, 0)        
  80. (41, 2)        
  81. (42, 0)        
  82. (42, 2)        
  83. (43, 0)        
  84. (43, 2)        
  85. (44, 0)        
  86. (44, 1)        
  87. (44, 2)        
  88.