snd.h
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 2k
Category:

Windows Develop

Development Platform:

Visual C++

  1. /*
  2. **  SND.H
  3. **
  4. **  Example header to create a DLL to control applet(s) to be
  5. **  displayed by the Multimedia Control Panel.
  6. **
  7. **  History:
  8. **
  9. **      Fri Apr 27 1990 -by- ToddLa
  10. **          Created.
  11. */
  12. /*---------------------------------------------------------------------------*/
  13. #include <multimed.h>
  14. #define DLG_SOUND       42
  15. #define DLG_CHANGED     45
  16. #define ID_DIR          100
  17. #define LB_NAMES        101
  18. #define LB_FILES        102
  19. #define ID_VOLUME       103
  20. #define ID_PLAY         104
  21. #define ID_EDIT         105
  22. #define ID_BEEP         106
  23. #define ID_CHANGED      108
  24. #define ICON_EXCLAIM        32515
  25. #define IDS_UNABLETITLE     3
  26. #define IDS_UNABLEMESSAGE   4
  27. #define IDS_WARNINGTITLE    5
  28. #define IDS_WARNINGMESSAGE  6
  29. #define IDS_NONE            7
  30. #define IDS_APPNAME         8
  31. #define IDS_NODEVICE        9
  32. #define IDS_HELPFILE    IDS_CONTROL_HLP
  33. #define IDS_WRITEERR        11
  34. /*---------------------------------------------------------------------------*/
  35. #define CODE                                     //_based(_segname("_CODE"))
  36. typedef char    CODE SZCODE;
  37. /*---------------------------------------------------------------------------*/
  38. extern  char aszSoundHlp[];
  39. extern  char aszErrorPlayTitle[];
  40. extern  char aszErrorPlayMessage[];
  41. extern  char aszWarningTitle[];
  42. extern  char aszWarningMessage[];
  43. extern  char aszNoSound[];
  44. extern  char aszNoDevice[];
  45. extern  char aszWriteErr[];
  46. extern  char aszAppName[];
  47. extern  HINSTANCE hInstance;
  48. extern  DWORD dwContext;
  49. extern  UINT uHelpMessage;
  50. /*---------------------------------------------------------------------------*/
  51. BOOL SoundDlg( HWND   hwnd
  52.              , UINT   wMsg
  53.              , WPARAM wParam
  54.              , LPARAM lParam
  55.              );
  56. /*---------------------------------------------------------------------------*/