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.

24 lines
558 B

  1. #include <windows.h>
  2. #include "hack.h"
  3. BYTE _based(_segname("_CODE")) bMidiLengths[] = {
  4. 3, // STATUS_NOTEOFF
  5. 3, // STATUS_NOTEON
  6. 3, // STATUS_POLYPHONICKEY
  7. 3, // STATUS_CONTROLCHANGE
  8. 2, // STATUS_PROGRAMCHANGE
  9. 2, // STATUS_CHANNELPRESSURE
  10. 3, // STATUS_PITCHBEND
  11. };
  12. BYTE _based(_segname("_CODE")) bSysLengths[] = {
  13. 1, // STATUS_SYSEX
  14. 2, // STATUS_QFRAME
  15. 3, // STATUS_SONGPOINTER
  16. 2, // STATUS_SONGSELECT
  17. 1, // STATUS_F4
  18. 1, // STATUS_F5
  19. 1, // STATUS_TUNEREQUEST
  20. 1, // STATUS_EOX
  21. };