midios2.mh
来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 54 行
MH
54 行
/*
* midios2.h OS/2 Multimedia Extensions MIDI include file.
*
:include crwatcnt.sp
*/
#ifndef __MIDIOS2_H__
#define __MIDIOS2_H__
:include readonly.sp
:include cpluspro.sp
#define STATUS_BIT 0x80
#define TRACK_OFF 0
#define TRACK_ON 1
#define NORMAL_SYSEX 0xf0
#define ESCAPE_SYSEX 0xf7
#define META 0xff
#define MMIO_SEQ MMIOM_USER+1
#define MMIO_MERGE MMIOM_USER+2
#define MMIO_FROM_SEQ MMIOM_USER+3
#define MMIO_TIMED_READ MMIOM_USER+4
#define MMIO_SET_TRACKS MMIOM_USER+5
#define MMIO_FORMAT_0 MMIOM_USER+6
#define MMIO_GETHEADER MMIOM_GETHEADER
#define MMIOM_GETFILELENGTH MMIOM_USER+10
#define MMIOM_GETTRACKLENGTH MMIOM_USER+11
#pragma pack(1)
typedef struct _MIDIHEADER {
CHAR chHeaderChunk[4];
ULONG ulHeaderLength;
USHORT usFormat;
USHORT usNumTracks;
USHORT usDivision;
VOID *vpAdditionalInformation;
} MIDIHEADER;
typedef struct _MMMIDIHEADER {
ULONG ulHeaderLength;
ULONG ulContentType;
ULONG ulMediaType;
MIDIHEADER midiheader;
} MMMIDIHEADER, *PMMMIDIHEADER;
#pragma pack()
:include cplusepi.sp
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?