#ifndef OS2_INCLUDED extern "C" { #define INCL_NOPMAPI #include } #endif PSZ apszErrorMessage[] = { (PSZ) "", (PSZ) "Heap initialization failed to provide requested memory size", (PSZ) "Bad parameter on DEVICE= line", (PSZ) "Resource Manager object creation failed", (PSZ) "Resource Manager did not locate WSS/SB", (PSZ) "Resource Manager unable to locate available IO resources", (PSZ) "OS/2 RM providing too many resources, PnP Device ID=%lx", (PSZ) "OS/2 RM failed RMCreateDriver() rc=%d", (PSZ) "OS/2 RM failed RMCreateAdapter() rc=%d", (PSZ) "OS/2 RM failed RMCreateDevice(%s) rc=%d", (PSZ) "OS/2 RM failed allocation of IO port 0x%x, rc=%d", (PSZ) "OS/2 RM failed allocation of IRQ level 0x%x, rc=%d", (PSZ) "OS/2 RM failed allocation of DMA channel %d, rc=%d", (PSZ) "OS/2 RM failed allocation of unrecognized resource type %d, rc=%d", (PSZ) "ICS2115 initialization failure rc=%x", (PSZ) "MPU-401 IO failure, code %d", (PSZ) "MIDIMSG object, too many bytes for status byte %b", (PSZ) "iMessageLength() called for unrecognized byte %x", (PSZ) "iSysexLength() called for unsupported IBM sysex %b %b", (PSZ) "Unexpected System Common status %b", (PSZ) "RM object does not recognize search flags.", (PSZ) "OS/2 RM failed RMDevIDToHandleList() for PnP Device ID=%lx, rc=%d", (PSZ) "OS/2 RM failed RMHandleToResourceHandleList(), rc=%d", (PSZ) "OS/2 RM failed RMGetNodeInfo(), rc=%d", (PSZ) "RM call to DevHelp_GetDOSVar() fails, rc=%d", (PSZ) "OS/2 System Timer not available", (PSZ) "No timer available to drive MIDI stream.", (PSZ) "RTMIDI initialization error, code=%d", (PSZ) "RTMIDI Validity check fails on initial of exchange of entry points", (PSZ) "RT MIDI fails registration of MIDI device name: %s", (PSZ) "Heap memory allocation failure on request for %d bytes", (PSZ) "DevHelp_AllocateCtxHook fails call from Timer object", }; // PSZ apszErrorMessage[] PSZ apszStatusMessage[] = { (PSZ) "", (PSZ) "OS/2 supplies IO adr %0x IRQ %x for WSS/SB base", (PSZ) "OS/2 supplies IO adr %0x for FM Synth base", (PSZ) "OS/2 supplies IO adr %0x IRQ %x for ICS 2115 Synth", (PSZ) "OS/2 RM detects no resources for detected device, PnP Device ID=%lx", (PSZ) "Using OS/2 kernel timer for MIDI", (PSZ) "Using timer hardware from audio adapter for MIDI", (PSZ) "RTMIDI reports good registration of MIDI device name: %s", }; // PSZ apszStatusMessage[] PSZ apszTraceMessage[] = { (PSZ) "", (PSZ) "System Common status %b data %b %b", (PSZ) "Sysex: PPQN scalar %d yields %ld uSec PPQN time interval", (PSZ) "Sysex: Tempo value %ld yields %ld uSec PPQN time interval", (PSZ) "Time compression short (uSec) %ld", (PSZ) "Time compression long (uSec) %ld", (PSZ) "IBM Sysex ignored, 1st bytes following signature %b %b", (PSZ) "System Real Time %b", (PSZ) "Note Off, channel %b note %b", (PSZ) "Note On, channel %b note %b", (PSZ) "Channel Pressure, channel %b data %b", (PSZ) "Program Change, channel %b data %b", (PSZ) "Control Change, channel %b data %b %b", (PSZ) "Polyphonic Key Pressure, channel %b data %b %b", (PSZ) "Pitch Bend, channel %b data %b %b", (PSZ) "", (PSZ) "%q", (PSZ) "%q", (PSZ) "%x %x", (PSZ) "AudioBuffer Wr Dest %0lx Src %0lx Cnt %0lx", (PSZ) "AudioBuffer Rd Dest %0lx Src %0lx Cnt %0lx", (PSZ) "AudioBuffer Fl %0lx Cnt %0x Dat %0x", (PSZ) "Update AudioBuffer Delta Count %0lx", (PSZ) "AudioBuffer Status RdWr %0lx Con/Pru %0lx ", (PSZ) "DDCMD Setup Time %0lx", (PSZ) "DDCMD Read %0lx Sz %0lx", (PSZ) "DDCMD Write %0lx Sz %0lx", (PSZ) "DDCMD Status", (PSZ) "DDCMD Enable Event %0lx Time: %0lx Type %lx Flags %lx Pop %lx", (PSZ) "DDCMD UpDate Event %0lx Time: %0lx Type %lx Flags %lx Pop %lx", (PSZ) "DDCMD Disable Event %0lx", (PSZ) "DDCMD PauseStreamTime", (PSZ) "DDCMD ResumeStreamTime", (PSZ) "DDCMD Register Stream %0lx SysFileNum %0lx", (PSZ) "DDCMD DeRegister Stream %0lx", (PSZ) "Buffer Returned %0lx", (PSZ) "Starting Wave Stream %0lx", (PSZ) "Stopping Wave Stream %0lx", (PSZ) "Paws Wave Stream %0lx", (PSZ) "Resume Wave Stream %0lx", (PSZ) "Starting Midi Stream %0lx", (PSZ) "Stopping Midi Stream %0lx", (PSZ) "Paws Midi Stream %0lx", (PSZ) "Resume Midi Stream %0lx", (PSZ) "Config Wave Hardware Clock %x Fmt %x Count %x", (PSZ) "Wave Play ISR Entered", (PSZ) "Wave Play ISR Exit", (PSZ) "Wave Play ISR No Stream Active", (PSZ) "Wave Play ISR Called %x", (PSZ) "Wave Capture ISR Entered", (PSZ) "Wave Capture ISR Exit", (PSZ) "Wave Capture ISR No Stream Active", (PSZ) "Wave Capture ISR Called %x", (PSZ) "Strategy Open SysFileNum %x", (PSZ) "Strategy Open Err Device Busy SysFileNum %x", (PSZ) "Strategy Close SysFileNum %x", (PSZ) "Ioctl Status %x", (PSZ) "Audio Init Mode Mode:%x SysFileNum:%x", (PSZ) "Audio IOCTL Control", (PSZ) "Audio IOCTL Caps DataType: %0lx SysFileNum:%x", (PSZ) "Audio IOCTL BAD Function: %x", (PSZ) "Audio IOCTL BAD Catagory: %x", (PSZ) "MixGetConnections Line:%0lx Connections:%0lx", (PSZ) "MixGetConnections Bad Line%0lx", (PSZ) "MixGetConnections Bad RC from Query:%0x Line%0lx", (PSZ) "MixSetConnections Line:%0lx Connection:%0lx", (PSZ) "MixSetConnections Disc Bad Rc Line:%0lx", (PSZ) "MixSetConnections Bad GetLineIndex Rc Line:%0lx", (PSZ) "MixSetConnections Bad Connection Value:%0lx", (PSZ) "MixSetConnections Bad Connect RC Line:%0lx Connection:%0lx", (PSZ) "MixGetLineInfo Line:%0lx Chn:%0lx Cont:%0lx Con:%0lx", (PSZ) "MixGetLineInfo Bad Line :%0lx", (PSZ) "MixGetLineInfo Bad QueryInfo RC Line: %0lx", (PSZ) "MixGetControl Line:%0lx Control:%0lx Value:%0lx", (PSZ) "MixGetControl Bad Line:%0lx", (PSZ) "MixGetControl Bad QueryControl RC Line:%0lx Control:%0lx", (PSZ) "MixSetControl Line:%0lx Control:%0lx Setting:%0lx", (PSZ) "MixSetControl Bad Line:%0lx", (PSZ) "MixSetControl Bad SetControl RC Line:%0lx Control:%0lx", (PSZ) "Destroying Stream Killing Buffers on In Process Queue", (PSZ) "Destroying Stream Killing Buffers on In Done Queue", (PSZ) "Destroying Stream Killing Events", (PSZ) "Returning Event %lx Time %lx", (PSZ) "MixDevConnect No Connect Entry Source:%0x Sink:%0x", (PSZ) "MixDevControl No Control Entry Line:%0x Control:%0x", (PSZ) "DoIntAdjOp Bad Value %0lx", (PSZ) "DoIntAdjOp Reg Adjust Reg1:%0x Data:%0x", (PSZ) "DoIntBoolOp Bool Reg1:%0x Data:%0x", }; // PSZ apszTraceMessage[]