Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.1 KiB

  1. #if 0
  2. Copyright (c) 1991-1996 Microsoft Corporation
  3. #endif
  4. #include <windows.h>
  5. #include <mmsystem.h>
  6. #include <mmddk.h>
  7. #include "mciwave.h"
  8. #include "config.h"
  9. #include "mciwave.rcv"
  10. IDD_CONFIG DIALOG LOADONCALL MOVEABLE DISCARDABLE 65, 43, 204, 117
  11. CAPTION "MCI Waveform Driver Setup"
  12. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP
  13. //FONT 8, "MS Sans Serif"
  14. FONT 8, "MS Shell Dlg"
  15. BEGIN
  16. CONTROL "You may configure the amount of memory that MCI Waveform driver will use for buffering audio data during playback or record.", -1, "static", SS_LEFT | WS_CHILD, 9, 6, 189, 28
  17. CONTROL "By default, MCI Waveform driver will allocate enough memory for 4 seconds of audio.", -1, "static", SS_LEFT | WS_CHILD, 8, 36, 188, 23
  18. CONTROL "&Seconds:", -1, "static", SS_LEFT | WS_CHILD, 29, 68, 39, 8
  19. CONTROL "", IDSCROLL, "scrollbar", SBS_HORZ | WS_TABSTOP | WS_CHILD, 73, 67, 70, 10
  20. CONTROL "0", IDCOUNT, "static", SS_CENTER | WS_CHILD, 151, 69, 20, 8
  21. CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 44, 91, 44, 12
  22. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 118, 91, 44, 12
  23. END
  24. STRINGTABLE PRELOAD MOVEABLE DISCARDABLE
  25. BEGIN
  26. IDS_PRODUCTNAME, "Sound"
  27. IDS_MAPPER, "mapper"
  28. // IDS_COMMANDS, "mciwave"
  29. IDS_COMMANDS, "#96"
  30. // By using a numeric value resource load is speeded up
  31. END
  32. //mciwave RCDATA PRELOAD MOVEABLE DISCARDABLE
  33. 96 RCDATA PRELOAD MOVEABLE DISCARDABLE
  34. BEGIN
  35. L"play\0", MCI_PLAY, 0, MCI_COMMAND_HEAD,
  36. L"notify\0", MCI_NOTIFY, MCI_FLAG,
  37. L"wait\0", MCI_WAIT, MCI_FLAG,
  38. L"from\0", MCI_FROM, MCI_INTEGER,
  39. L"to\0", MCI_TO, MCI_INTEGER,
  40. L"hold\0", MCI_MCIWAVE_PLAY_HOLD, MCI_FLAG,
  41. L"\0", 0L, MCI_END_COMMAND,
  42. L"\0", 0L, MCI_END_COMMAND_LIST
  43. END