Mike McCormack
795b17e055
Make WINMM_IData statically allocated.
2005-04-27 08:12:58 +00:00
Jeremy White
40df53aae2
Do not fallback to defaults if a driver, mapper, or midi is specified
...
in the registry; consolidate MMDRV_Init() into a single function.
2005-03-17 10:25:25 +00:00
Eric Pouech
1eed552b4d
- rewrite MCI interfaces as Unicode interface (as it should be)
...
- made some winmm APIs rely on the Unicode version for the core
implementation (instead of Ansi flavor)
2005-02-09 22:26:25 +00:00
Ge van Geldorp
c24ca67f58
Match PSDK definitions for LPCWAVEFORMATEX.
2004-12-08 13:57:55 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Jeremy White
fea27b1348
Revise winmm/time.c to fix timer resolution at 1 ms. This then allows
...
a much more efficient implementation of timer events and timeGetTime,
and callers that used sub 10 ms resolution will now get correct
results.
2004-10-18 21:44:32 +00:00
Dimitrie O. Paun
0415030f51
Lookup driver information in registry and system.ini.
...
Make the code inspect the registry/system.ini at call time, rather
then initialization time.
Code cleanups.
2004-06-30 18:12:20 +00:00
Robert Reif
fd758586d1
Added some trace and debug printing.
2004-06-01 19:40:48 +00:00
Robert Reif
76659e9e9f
Fixed thread handle leaks.
2004-01-20 01:45:05 +00:00
Eric Pouech
9db6037de8
- implemented TIME_KILL_SYCHRONOUS timer flags
...
- timeKillTimer is now thread safe
- replaced some iData attributes by global variables
2004-01-12 21:03:10 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Dmitry Timoshkov
9741589bdf
Fix many function prototypes and data types according to Platform SDK
...
definitions.
2003-12-31 23:49:45 +00:00
Eric Pouech
ed37b7a8bb
Move (again) usage of 16 bit specific functions (thunk lock) to 16 bit
...
code only.
2003-12-08 21:54:29 +00:00
Eric Pouech
ce2d3ef77d
Move usage of 16 bit specific functions (MapSL) in 16 bit code only.
2003-12-02 03:36:20 +00:00
Eric Pouech
cd7328672e
Move usage of 16 bit specific functions (MapSL) in 16 bit code only.
2003-12-01 22:38:19 +00:00
Eric Pouech
b1a2d883fc
Removed some more dependencies on wine 16-bit specific entities.
2003-11-09 01:19:58 +00:00
Robert Reif
80a7638006
Fix MMDRV_PhysicalFeatures to handle both 16 and 32 bit pointers
...
properly.
2003-10-22 03:04:07 +00:00
Eric Pouech
766ef669eb
Moved some MM internal definition to internal include files.
2003-09-12 00:24:16 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
812b4f46e9
Avoid calling Win32 resource functions on 16-bit modules.
2003-04-30 17:28:45 +00:00
Eric Pouech
1d854a10b0
When unmapping a (wave|midi)-header unprepare message, make sure the
...
unpreparation was successful.
2003-01-02 17:56:41 +00:00
Eric Pouech
689312b15e
Now properly unloading multimedia drivers when winmm unloads.
2002-11-11 19:53:01 +00:00
Alexandre Julliard
7a1cb65cb9
Moved 16-bit definitions out of mmddk.h into mmsystem16.h.
2002-10-31 02:23:43 +00:00
Eric Pouech
ac5de27d1c
winmm/mmsystem now compiles with -DSTRICT.
2002-10-31 01:02:41 +00:00
Eric Pouech
50ade2b33d
- internal renaming (no longer using MMSYSTEM prefixes for WINMM only
...
functions)
- moved time 16/32 conversions functions to 16 bit source files
- final Makefile changes (16 bit part can now really be not compiled
when -disable-win16 is requested)
2002-10-29 22:02:00 +00:00
Eric Pouech
8b7a45f4f7
- let all time related functions make use of low level drivers 16 bit
...
functions
- some renaming (prefixing internal time functions with TIME)
2002-10-29 21:59:24 +00:00
Eric Pouech
5942f98f92
All low level driver functions (internals for wave, midi, mixer and
...
aux) are now cleanly separated.
2002-10-29 21:55:25 +00:00
Eric Pouech
9becf85a2c
All MCI functions are now cleanly separated.
2002-10-29 21:53:44 +00:00
Eric Pouech
b4df16b3b2
All driver functions are now properly separated.
2002-10-29 21:51:24 +00:00
Eric Pouech
74b20fb8d8
- revisited mmsystem/winmm loading mechanism
...
- added WINMM_CheckMMSystem function (helps 32 bit code detect
presence of our own mmsystem DLL)
- some internal renaming (MULTIMEDIA => WINMM)
2002-10-29 21:49:35 +00:00
Eric Pouech
2b0e56c8d8
Now only storing thread id for mci tasks (16 bit htask is now gotten
...
from WOW functions).
2002-10-29 21:44:23 +00:00
Eric Pouech
5e81d9a7ba
- finish mmio separation
...
- no longer storing function pointers in global IData
2002-10-29 21:26:00 +00:00
Eric Pouech
1563fab4db
Move low level multimedia message mapping out of 32 bit code.
2002-10-28 20:53:10 +00:00
Eric Pouech
fdb623335a
Move MCI message mapping out of 32 bit code.
2002-10-28 20:51:36 +00:00
Eric Pouech
894eedf5d3
Move driver message mapping out of 32 bit code.
2002-10-28 20:44:26 +00:00
Eric Pouech
1e3e87d430
Simplify the global internal data handling.
2002-10-25 19:00:12 +00:00
Eric Pouech
fb8bad49d9
Unify the constant used for error codes reporting mapping functions
...
success/failures.
2002-10-25 03:51:40 +00:00
Eric Pouech
b3854da29a
Keep on moving 16 bit code out of winmm, now only using linear
...
addresses for buffers.
2002-10-21 18:21:26 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Eric Pouech
240f09391a
Keep on moving 16 bit code out of winmm.
2002-10-10 23:28:22 +00:00
Eric Pouech
46c49c6d79
Removed no longer needed list of instance data.
2002-10-10 22:47:25 +00:00
Eric Pouech
57e6ba7009
Started putting all 16 bit code in separate files.
2002-10-10 03:43:53 +00:00
Michael Stefaniuc
025c0b716b
Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
...
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Michael Stefaniuc
c8ff4da2ac
Convert HMMIO to a void*.
2002-08-09 19:51:01 +00:00
Michael Stefaniuc
ec7d7b72b2
- Convert HDRVR to a void*.
...
- Fix declaration of DriverCallback().
2002-08-09 01:02:25 +00:00
Michael Stefaniuc
c414344e2a
Convert HMIXER, HMIXEROBJ to a void*.
2002-08-03 00:14:43 +00:00
Michael Stefaniuc
bacc1b3b58
- Converted HWAVE, HWAVEIN, HWAVEOUT to void*.
...
- Fixed some HMIDI{IN,OUT}16 to HANDLE conversions.
- midiOutCacheDrumPatches16 called itself recursively in an infinite
loop.
2002-08-02 19:02:49 +00:00
Alexandre Julliard
7cae201e3f
Authors: Eric Pouech <eric.pouech@wanadoo.fr>, Michael Stefaniuc <mstefani@redhat.com>
...
Convert HMIDI, HMIDIIN, HMIDIOUT, HMIDISTRM to void*.
2002-08-01 18:17:51 +00:00
Alexandre Julliard
13f2a17eb2
Convert HTASK to void* (based on a patch by Michael Stefaniuc).
2002-07-28 23:48:27 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00