1 | extern PSZ apszErrorMessage[] ;
|
---|
2 | extern PSZ apszStatusMessage[] ;
|
---|
3 | extern PSZ apszTraceMessage[] ;
|
---|
4 | extern USHORT ausTraceDataLen[] ;
|
---|
5 | const int HeapInitFailure = 1 ;
|
---|
6 | const int BadCommandLine = 2 ;
|
---|
7 | const int RM_ObjectInitFailure = 3 ;
|
---|
8 | const int RM_WSS_SB_NotFound = 4 ;
|
---|
9 | const int Init_Err_NoResources = 5 ;
|
---|
10 | const int RM_Err_TooManyResources = 6 ;
|
---|
11 | const int RM_Err_RMCreateDriver = 7 ;
|
---|
12 | const int RM_Err_RMCreateAdapter = 8 ;
|
---|
13 | const int RM_Err_CreateDevice = 9 ;
|
---|
14 | const int RM_Err_AllocIO = 10 ;
|
---|
15 | const int RM_Err_AllocIRQ = 11 ;
|
---|
16 | const int RM_Err_AllocDMA = 12 ;
|
---|
17 | const int RM_Err_AllocUNR = 13 ;
|
---|
18 | const int ICS2115_InitFailure = 14 ;
|
---|
19 | const int MPU401_Err_IO = 15 ;
|
---|
20 | const int MIDISTREAM_ERR_MsgOverrun = 16 ;
|
---|
21 | const int MIDISTREAM_ERR_iMessageLen = 17 ;
|
---|
22 | const int MIDISTREAM_ERR_BadIBMSysex = 18 ;
|
---|
23 | const int MIDISTREAM_ERR_SysCommon = 19 ;
|
---|
24 | const int RM_Err_SearchFlags = 20 ;
|
---|
25 | const int RM_Err_DevSearch = 21 ;
|
---|
26 | const int RM_Err_Handle = 22 ;
|
---|
27 | const int RM_Err_NodeInfo = 23 ;
|
---|
28 | const int RM_Err_DHGetDosVar = 24 ;
|
---|
29 | const int Timer_Err_SysTimer = 25 ;
|
---|
30 | const int Timer_Err_NoTimer = 26 ;
|
---|
31 | const int RTMIDI_Err_AttachDD = 27 ;
|
---|
32 | const int RTMIDI_Err_BadIDC = 28 ;
|
---|
33 | const int RTMIDI_Err_Registration = 29 ;
|
---|
34 | const int HEAP_Err_NoMemory = 30 ;
|
---|
35 | const int Timer_Err_CtxHook = 31 ;
|
---|
36 | const int WSS_SB_Resources = 1 ;
|
---|
37 | const int FMSynth_Resources = 2 ;
|
---|
38 | const int ICS2115_Resources = 3 ;
|
---|
39 | const int RM_NoResources = 4 ;
|
---|
40 | const int Timer_SystemTimer = 5 ;
|
---|
41 | const int Timer_AdapterTimer = 6 ;
|
---|
42 | const int RTMIDI_RegisterOK = 7 ;
|
---|
43 | const int MIDISTREAM_SysCommon = 1 ;
|
---|
44 | const int MIDISTREAM_PPQN = 2 ;
|
---|
45 | const int MIDISTREAM_TempoValue = 3 ;
|
---|
46 | const int MIDISTREAM_TimeCompressionS = 4 ;
|
---|
47 | const int MIDISTREAM_TimeCompressionL = 5 ;
|
---|
48 | const int MIDISTREAM_SysXIgnored = 6 ;
|
---|
49 | const int MIDISTREAM_SystemRT = 7 ;
|
---|
50 | const int MIDISTREAM_NoteOff = 8 ;
|
---|
51 | const int MIDISTREAM_NoteOn = 9 ;
|
---|
52 | const int MIDISTREAM_ChannelPressure = 10 ;
|
---|
53 | const int MIDISTREAM_ProgramChange = 11 ;
|
---|
54 | const int MIDISTREAM_Control = 12 ;
|
---|
55 | const int MIDISTREAM_Polyphonic = 13 ;
|
---|
56 | const int MIDISTREAM_PitchBend = 14 ;
|
---|
57 | const int PerfTrace_Entry = 16 ;
|
---|
58 | const int PerfTrace_Exit = 17 ;
|
---|
59 | const int BinLogTest_SS = 18 ;
|
---|
60 | const int Audiobuf_WRB = 19 ;
|
---|
61 | const int Audiobuf_RDB = 20 ;
|
---|
62 | const int Audiobuf_FILL = 21 ;
|
---|
63 | const int Audiobuf_UPB = 22 ;
|
---|
64 | const int Audiobuf_Status = 23 ;
|
---|
65 | const int DDCMD_Setup = 24 ;
|
---|
66 | const int DDCMD_Read = 25 ;
|
---|
67 | const int DDCMD_Write = 26 ;
|
---|
68 | const int DDCMD_Status = 27 ;
|
---|
69 | const int DDCMD_EnableEvent = 28 ;
|
---|
70 | const int DDCMD_EnableEvent_Update = 29 ;
|
---|
71 | const int DDCMD_DisableEvent = 30 ;
|
---|
72 | const int DDCMD_PauseStreamTime = 31 ;
|
---|
73 | const int DDCMD_ResumeStreamTime = 32 ;
|
---|
74 | const int DDCMD_Register = 33 ;
|
---|
75 | const int DDCMD_DeRegister = 34 ;
|
---|
76 | const int DDCMD_Returnbuffer = 35 ;
|
---|
77 | const int DDCMD_Wave_Start = 36 ;
|
---|
78 | const int DDCMD_Wave_Stop = 37 ;
|
---|
79 | const int DDCMD_Wave_Pause = 38 ;
|
---|
80 | const int DDCMD_Wave_Resume = 39 ;
|
---|
81 | const int DDCMD_Midi_Start = 40 ;
|
---|
82 | const int DDCMD_Midi_Stop = 41 ;
|
---|
83 | const int DDCMD_Midi_Pause = 42 ;
|
---|
84 | const int DDCMD_Midi_Resume = 43 ;
|
---|
85 | const int Wave_ConfigHardware = 44 ;
|
---|
86 | const int Wave_Play_ISR_Enter = 45 ;
|
---|
87 | const int Wave_Play_ISR_Exit = 46 ;
|
---|
88 | const int Wave_Play_ISR_NoServ = 47 ;
|
---|
89 | const int Wave_Play_NOT_MY_ISR = 48 ;
|
---|
90 | const int Wave_Capture_ISR_Enter = 49 ;
|
---|
91 | const int Wave_Capture_ISR_Exit = 50 ;
|
---|
92 | const int Wave_Capture_ISR_NoServ = 51 ;
|
---|
93 | const int Wave_Capture_NOT_MY_ISR = 52 ;
|
---|
94 | const int STRATEGY_ENTRY_OPEN = 53 ;
|
---|
95 | const int STRATEGY_ENTRY_OPEN_BUSY = 54 ;
|
---|
96 | const int STRATEGY_ENTRY_CLOSE = 55 ;
|
---|
97 | const int IOCTL_STATUS = 56 ;
|
---|
98 | const int AUDIO_IOCTL_INIT = 57 ;
|
---|
99 | const int AUDIO_IOCTL_CONTROL = 58 ;
|
---|
100 | const int AUDIO_IOCTL_CAPABILITY = 59 ;
|
---|
101 | const int AUDIO_IOCTL_BAD_FUNC = 60 ;
|
---|
102 | const int AUDIO_IOCTL_BAD_CATAGORY = 61 ;
|
---|
103 | const int MIXER_IOCTL_GETCONNECTIONS = 62 ;
|
---|
104 | const int MIXER_IOCTL_GETCONNECTIONS_ERR1 = 63 ;
|
---|
105 | const int MIXER_IOCTL_GETCONNECTIONS_ERR2 = 64 ;
|
---|
106 | const int MIXER_IOCTL_SETCONNECTIONS = 65 ;
|
---|
107 | const int MIXER_IOCTL_SETCONNECTIONS_ERR1 = 66 ;
|
---|
108 | const int MIXER_IOCTL_SETCONNECTIONS_ERR2 = 67 ;
|
---|
109 | const int MIXER_IOCTL_SETCONNECTIONS_ERR3 = 68 ;
|
---|
110 | const int MIXER_IOCTL_SETCONNECTIONS_ERR4 = 69 ;
|
---|
111 | const int MIXER_IOCTL_GETLINEINFO = 70 ;
|
---|
112 | const int MIXER_IOCTL_GETLINEINFO_ERR1 = 71 ;
|
---|
113 | const int MIXER_IOCTL_GETLINEINFO_ERR2 = 72 ;
|
---|
114 | const int MIXER_IOCTL_GETCONTROL = 73 ;
|
---|
115 | const int MIXER_IOCTL_GETCONTROL_ERR1 = 74 ;
|
---|
116 | const int MIXER_IOCTL_GETCONTROL_ERR2 = 75 ;
|
---|
117 | const int MIXER_IOCTL_SETCONTROL = 76 ;
|
---|
118 | const int MIXER_IOCTL_SETCONTROL_ERR1 = 77 ;
|
---|
119 | const int MIXER_IOCTL_SETCONTROL_ERR2 = 78 ;
|
---|
120 | const int STREAM_DESTROY_INPROCESS = 79 ;
|
---|
121 | const int STREAM_DESTROY_DONE = 80 ;
|
---|
122 | const int STREAM_DESTROY_EVENTS = 81 ;
|
---|
123 | const int EVENT_RETURNED = 82 ;
|
---|
124 | const int MIX_DEV_ERR1 = 83 ;
|
---|
125 | const int MIX_DEV_ERR2 = 84 ;
|
---|
126 | const int MIX_DEV_ERR3 = 85 ;
|
---|
127 | const int MIX_DEV_MSG1 = 86 ;
|
---|
128 | const int MIX_DEV_MSG2 = 87 ;
|
---|