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.

72 lines
2.3 KiB

  1. The definitive reference for MIDI Mapper's registry entries.
  2. Aliases are kept in HKEY_LOCAL_MACHINE because they describe the hardware
  3. setup (instrument-port-driver mapping) and are therefore global to the
  4. machine.
  5. Schemes are also global because we want at least the default schemes (which
  6. map all 16 channels to one instrument on a port) to be available to all users.
  7. The current scheme is stored in HKEY_CURRENT_USER.
  8. -------------------------------------------------------------------------------
  9. HKEY_LOCAL_MACHINE
  10. System
  11. CurrentControlSet
  12. Control
  13. MediaProperties
  14. PrivateProperties
  15. Midi
  16. Schemes
  17. %scheme%
  18. [%nn%=%key%
  19. Channels=%chanmask%*]
  20. HKEY_LOCAL_MACHINE
  21. System
  22. CurrentControlSet
  23. Control
  24. MediaResources
  25. Midi
  26. %driver<nnnn>%
  27. Instruments
  28. [%nn%
  29. FriendlyName=%alias%*
  30. Port=%port%*
  31. Definition=%idf%*]
  32. HKEY_CURRENT_USER
  33. Software
  34. Microsoft
  35. Multimedia
  36. MidiMap
  37. CurrentScheme=%scheme%*
  38. [] Section repeats 0 or more times as needed
  39. * Tag represents a value rather than a key
  40. Tag Type Description
  41. === ==== ===========
  42. %scheme% String Scheme name; subkey into Schemes key.
  43. %nn% String Iterator; no instrinsic meaning.
  44. %key% String Relative midi driver key. either
  45. %driver<nnnn>% or %driver<nnnn>%\Instruments\%nn%
  46. %chanmask% DWORD Binary channel mask (one byte per channel;
  47. LSB is channel 0).
  48. %driver<nnnn>% String Driver key; returned from DRV_QUERYDRVENTRY.
  49. %alias% String Alias for instrument/port combination.
  50. %port% BYTE Port on this driver; range 0..MODM_GETNUMDEVS
  51. for this driver.
  52. %idf% String Filename & instrument of an IDF file; The
  53. filename is first, optionally followed by
  54. a Instrument name in angle '<>' brackets.
  55. for instance 'general.idf<GeneralMIDIInstrument>'