Adding Sound Functions and a Sound Icon to Control Panel (83783)



The information in this article applies to:

  • Microsoft Windows 3.1
  • Microsoft Windows 3.11
  • Microsoft Windows with Multimedia Extensions 1.0

This article was previously published under Q83783

SUMMARY

Windows version 3.1 and Windows with Multimedia Extensions version 1.0 have a sound icon in the Control Panel. This icon allows sounds to be assigned to several functions. To add additional sounds, you can either program or purchase a software package designed specifically for this functionality.

MORE INFORMATION

Windows 3.1 has the following development functions to which sounds (files with a .WAV extension) can be assigned. This information is listed in the WIN.INI file, but you cannot add additional sound functions without the underlying programming support. The following example demonstrates how the [Sounds] section of the WIN.INI file should appear to provide the underlying programming support:
   [Sounds]
   SystemAsterisk=C:\W31\CHORD.WAV,Asterisk
   SystemHand=chord.wav,Critical Stop
   SystemDefault=ding.wav,Default Beep
   SystemExclamation=chord.wav,Exclamation
   SystemQuestion=chord.wav,Question
   SystemExit=chimes.wav,Windows Exit
   SystemStart=C:\W31\CHIMES.WAV,Windows Start
				
All of these functions are defined by the Windows multimedia MessageBeep function. You can add additional sound functions with the sndPlaySound function, provided you are programming Windows applications with the Microsoft Multimedia Development Kit.

REFERENCES

"Microsoft Multimedia Development Kit: Programmer's Workbook," pages 4-1 through 4-8

Modification Type:MajorLast Reviewed:11/17/2003
Keywords:KB83783