Commit Graph

47 Commits

Author SHA1 Message Date
Eric Pouech 2c8802f26e mmsystem.dll16: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 2689b37e5f mmsystem: Fix some prototype mismatches.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:56 +01:00
Damjan Jovanovic 7464d1042a mmsystem: Win16 DllEntryPoint uses HINSTANCE16, not HINSTANCE.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-15 16:21:34 +01:00
Alexandre Julliard fbbad0f10a makefiles: Always build 16-bit modules with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:09:19 +02:00
Alexandre Julliard c1df11c167 mmsystem: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 09:46:13 +02:00
Alex Henrie d052ff0f37 mmsystem.dll16: Pass through MCI_LIST, MCI_SETAUDIO, and MCI_SETVIDEO.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 13:02:15 +01:00
Nikolay Sivov 515065f6ce mmsystem: Fix its vs it's typo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:20 -05:00
Sebastian Lackner 7260223ce5 mmsystem.dll16: Fix argument order in GlobalAlloc16 call.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 21:50:34 +09:00
Francois Gouget 40d806dc95 mmsystem.dll16: Mark internal symbols with hidden visibility. 2015-03-19 14:06:30 +09:00
Francois Gouget b295ba36ac mmsystem.dll16: Remove unneeded NONAMELESSXXX directives. 2015-03-13 21:57:32 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Marcus Meissner a21c489f0f mmsystem.dll16: Free the correct pointer (Coverity). 2014-01-01 20:45:19 +01:00
Jörg Höhle 7b21da56ec mmsystem: MIDIHDR.dwOffset exists since Win 32 only, not in 16 bit code. 2013-03-05 09:50:00 +01:00
Jörg Höhle f13394f797 mmsystem: Always use CALLBACK_FUNCTION to update MIDI/WAVEHDR.dwFlags. 2013-02-27 19:23:43 +01:00
Jörg Höhle 1cc26cba6f mmsystem: Do not rewrite input parameters. 2013-02-27 19:23:42 +01:00
Jörg Höhle 5155e8011d mmsystem: Use SEGPTR when the .spec says so. 2013-02-27 19:23:39 +01:00
Andrew Talbot 21af37226d mmsystem.dll: De-constify a variable. 2012-12-03 12:36:41 +01:00
Michael Stefaniuc 4430decf74 mmsystem.dll16: Drop the WINE_ prefix from a FIXME. 2012-03-12 10:11:19 +01:00
Michael Stefaniuc 5439aede62 include: Remove 'l' modifier from numeric constants in mmsystem.h. 2011-10-25 16:57:25 +02:00
Andrew Talbot de0a0efca9 mmsystem.dll16: Remove an unused variable. 2011-09-16 17:23:09 +02:00
Jörg Höhle dbd058a85a mmsystem: MCI_UnMapMsg16To32W need not return a value. 2011-05-26 16:38:27 +02:00
Jörg Höhle bc9b9d53c1 mmsystem: Fix some MCI mappings. 2011-05-26 16:38:20 +02:00
Damjan Jovanovic 15a3bd9c79 mmsystem.dll16: Use flags instead of device type as the MCI_STATUS heuristic. 2011-05-12 15:41:52 +02:00
Damjan Jovanovic 821adcfac3 mmsystem.dll16: Fix the pointer arithmetic and memory leak issues when unmapping. 2011-05-05 16:32:00 +02:00
Damjan Jovanovic 840aacc1a2 mmsystem.dll16: Fix MCI_STATUS mapping for digitalvideo. 2011-05-05 16:32:00 +02:00
Damjan Jovanovic 8eb6b8bcb6 mmsystem.dll16: Fix mapping of MCI_WINDOW structures between 16 and 32 bit. 2011-05-03 14:38:06 +02:00
Damjan Jovanovic 0e3204389e mmsystem: Improve 16 bit mapping for MCI_WHERE/PUT/FREEZE/UNFREEZE. 2011-04-20 13:07:43 +02:00
Andrew Nguyen b84f2f229b mmsystem.dll16: Correctly map the MCI_SYSINFO_PARMS structure when MCI_SYSINFO_QUANTITY is set. 2011-01-04 11:15:18 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Jörg Höhle 8fb1e3eba2 winmm: Support MCI_SOUND. 2010-09-16 11:16:23 -05:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Eric Pouech dfcaf61de8 mmsystem.drv: Always create a thunk for MMIO objects. 2010-06-24 10:30:17 +02:00
Jörg Höhle 64742c99fc mmsystem: Handle WAVE_FORMAT_QUERY case. 2010-06-23 16:56:07 +02:00
Eric Pouech 6f778a79f4 mmsystem.drv: Always map parameters for all callback kinds. 2010-06-21 12:22:09 +02:00
Jörg Höhle 8f5ec326e1 mmsystem: Log MCI command name again. 2010-06-16 12:48:50 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Marcus Meissner 40026a7eb7 mmsystem.dll16: Check for NULL ptr in mmioRename (Coverity). 2009-12-03 10:21:39 +01:00
Alexandre Julliard 2a64c6b11c user32: Move driver support to mmsystem and replace it with stubs in user.exe. 2009-11-12 23:09:21 +01:00
Alexandre Julliard 7c930a3771 mmsystem: Use PeekMessageW instead of UserYield. 2009-11-12 23:09:20 +01:00
Eric Pouech 8575935f61 mmsystem.dll16: Correctly send messages up to winmm.dll.
Spotted by Christian Costa.
2009-11-09 20:02:35 +01:00
Eric Pouech ceddc0ae1b mmsystem.dll16: Fix the callback function. 2009-11-03 21:28:42 +01:00
Francois Gouget 621230fdc2 mmsystem.dll16: Make MMSYSTEM_MMTIME16to32() static. 2009-10-26 11:20:03 +01:00
Francois Gouget 959ced4e3c mmsystem.dll16: Reorder the thread and time functions to avoid the need for forward declarations. 2009-10-26 11:19:58 +01:00
Eric Pouech a60dd6e918 winmm: Final split of mmsystem. 2009-10-23 12:17:57 +02:00