Commit Graph

279 Commits

Author SHA1 Message Date
Peter Hunnisett 89391af7e9 - Changed return code for failure on *_DllGetClassObject to
CLASS_E_CLASSNOTAVAILABLE from E_NOTAVAILABLE as documented.
- Replaced memcmps with equivalent IsEqualCLSID or IsEqualGUID macros.
- Changed "return 0;" with S_OK or DS_OK as appropriate.
1999-09-28 16:23:17 +00:00
Eric Pouech 09c71b1c2d Fixed typo in hDrv for sending message. 1999-09-28 13:03:55 +00:00
Eric Pouech d19d25a0ea Removed last dependancies between MCI drivers and WINMM/MMSYSTEM
DLLs.
1999-09-27 13:38:57 +00:00
Eric Pouech c26cccbe4b Got rid of hack on WAVEHDR's & MIDIHDR's reserved field for 16/32 bit
discrimination.
Fixed a few segptr/linear address bugs in WAVEHDR/MIDIHDR handling.
1999-09-27 13:37:28 +00:00
Eric Pouech c1e3bbff51 Check for OSS driver presence and return error accordingly. 1999-09-27 13:36:17 +00:00
Eric Pouech 322f45cfca Got rid of hack on MIDHDR's reserved field for 16/32 bit
discrimination.
1999-09-27 13:35:15 +00:00
Eric Pouech 31655a69c8 Fixed crash with mapper loading.
Got rid of hack on WAVEHDR's reserved field for 16/32 bit
discrimination.
1999-09-27 13:34:21 +00:00
Eric Pouech 300da9c641 Got rid of hack on WAVEHDR's reserved field for 16/32 bit
discrimination.
1999-09-27 13:33:05 +00:00
Eric Pouech cbb03cec93 MMSYSTEM_GetIData() now dies when no iData is present
Better error recovery when the process attachment fails
PlaySound (and helper functions) now use the regular waveOutXXX (instead of wodMessage)
Moved handling of hack for differenciating between 16 and 32 bit callback to lolvldrv.c
Makes use of new lolvldrv.c interfaces
1999-09-22 16:53:32 +00:00
Eric Pouech 4853b6d0d2 Added lolvldrv.c and oss.c.
Thunks to 16 bit are now generated for the MMSYSTEM module.
1999-09-22 16:52:47 +00:00
Eric Pouech dc8d856c7a No longer checking for correct iData in code. 1999-09-22 16:47:47 +00:00
Eric Pouech 22d333d869 Make it (almost) 32 bit only.
Reflected creation of WINEOSS module.
1999-09-22 16:45:33 +00:00
Eric Pouech ed18ce6bc5 Make it (almost) 32 bit only.
Reflected creation of WINEOSS module.
No longer using ERR when no MIDI card is present.
1999-09-22 16:44:34 +00:00
Eric Pouech bfa66f714c Added stub for joyGetPosEx16(). 1999-09-22 16:43:48 +00:00
Eric Pouech 81824b9b7f No longer checking for correct iData in code.
Added look-up tables to command tables (speeds up queries).
1999-09-22 16:43:18 +00:00
Eric Pouech e229260ee8 Now using WAVEFORMATEX instead of PCMWAVEFORMAT. 1999-09-22 16:42:31 +00:00
Eric Pouech 644f9a727c Now using modReset() instead of tweaking MIDI controls. 1999-09-22 16:42:03 +00:00
Eric Pouech 086883e8dd Fixed returned type upon open.
Fixed some bogus error checking.
1999-09-22 16:41:32 +00:00
Eric Pouech 9000e7f264 Fixed returned type upon open. 1999-09-22 16:41:00 +00:00
Patrik Stridvall 32b4325d6b Add support for anonymous struct/unions on compilers that implement it. 1999-09-14 07:52:16 +00:00
Eric Pouech 54d44d468c Fixed crash in PlaySound thread. 1999-09-13 15:10:36 +00:00
Eric Pouech 37c0217d03 Updated to new MM header organization. 1999-09-05 16:44:38 +00:00
Eric Pouech 668228a1fa Moved DDK level material to new include/mmddk.h file.
Copied some SDK level material from include/multimedia.h file.
1999-09-05 16:39:23 +00:00
Eric Pouech 139f8fcaf4 Updated to new MM header organization.
Cleaned-up internal structures (now 32 bit only).
Now using the MMSYSTEM entry points rather than the low level driver
ones directly.
1999-09-05 16:31:37 +00:00
Michael McCormack 7026a3d101 Changed snprintf to wsnprintfA to remove unresolved external when
compiling on Solaris/Sun.
1999-09-03 12:31:39 +00:00
Ulrich Weigand 708a1c03f9 Adapted to WOW changes. 1999-08-18 18:32:21 +00:00
Eric Pouech 16b901c552 Fixed internal buffer for 16 bit mmio MEM files. 1999-08-18 18:27:52 +00:00
Eric Pouech 3b88cabb7c - some errors in cleaning up values returned by MCI drivers: this
should solve the issues reported with the CD player/writer
- crash when command was requested with automatic open (note, this
  will now gracefully report an error, not do the correct thing).
1999-08-18 18:26:58 +00:00
Ulrich Weigand 6c6da674ef Moved various DLLs to dlls/ 1999-08-04 09:49:49 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Patrik Stridvall 478eee17be Eliminated warnings. 1999-07-31 13:13:23 +00:00
Eric Pouech 0147eedeff Added WINMM resources. 1999-07-24 10:46:21 +00:00
Eric Pouech d2c54d8b3e Removed obsoleted mcistring.c.
Added support for resources.
1999-07-24 10:45:47 +00:00
Eric Pouech b26cfe7665 Fixed return values for some messages in DriverProc (MCI_GETDEVCAPS &
MCI_STATUS) for mciSendString.
1999-07-24 10:45:24 +00:00
Eric Pouech 71c7efac4c Spread the use of MM crit sect. 1999-07-24 10:44:24 +00:00
Eric Pouech 967a31db03 Moved some MCI functions to mci.c.
Now loads error messages from string table.
Spread the use of MM crit sect.
1999-07-24 10:42:59 +00:00
Eric Pouech 2823d5945a Added parsing & storing of command tables.
Merged some MCI functions from mmsystem.c.
1999-07-24 10:41:28 +00:00
Eric Pouech 8d108a2167 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Make use of default debugtools.h channel.
Added CALLBACK attribute to DriverProc.
1999-07-15 14:43:13 +00:00
Eric Pouech 6ba9d96e61 Changed way of allocation open mci drivers (array => list).
First valid ID for mci devices is now 1 (some progs were testing this
value).
Started implementing mci command table resources.
Handled closing on MCI_ALL.
1999-07-15 14:42:44 +00:00
Eric Pouech 9e1008f137 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Deferred opening of low-level device until play is requested.
1999-07-15 14:42:14 +00:00
Eric Pouech 7d6ee3190e Fixed return value for 'open' command.
Changed way of allocation open mci drivers (array => list).
1999-07-15 14:41:41 +00:00
Eric Pouech 3bfbf3cc39 Removed fixed size array to store specific data (now using
mci(Set|Get)DriverData to store specific data).
Fixed mmio chunk lookup on odd size 'fmt ' chunks.
1999-07-15 14:36:15 +00:00
Eric Pouech 5be17f7bbf Uniformized use of fd to midi device.
Now allocating memory on system heap.
Fixed bug when stopping all notes.
1999-07-15 14:35:37 +00:00
Eric Pouech f87112bacd Cosmetic fixes.
Changed way of allocation open mci drivers (array => list).
Started implementing mci command table resources.
1999-07-15 14:35:03 +00:00
Eric Pouech 5e61c20bc9 No longer calling mm timers callbacks with mm timer crit sect locked. 1999-07-15 14:34:23 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Eric Pouech 8becc699d1 Fixed alignment and position when looking for mmio chunks. 1999-06-26 10:36:29 +00:00