Commit Graph

29 Commits

Author SHA1 Message Date
Michael Stefaniuc d37c304ef7 msacm32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Michael Stefaniuc 31f6332f48 msacm32: Make the registry key variables global.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Alexandre Julliard 77872fa87d msacm32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Zhiyi Zhang bbdf6d5e21 msacm32: Reference count local drivers.
One local driver can be assigned to multiple driver ids.
When releasing the driver id, check if the reference count
of a local driver is one before actually releasing the local driver.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46520
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 10:22:07 +01:00
Michael Stefaniuc 077db39cec msacm32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:44:27 +02:00
Thomas Faber 7966efda07 msacm32: Free session driver instance using the correct heap.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 15:46:16 +01:00
Pierre Schweitzer 1ac7096728 msacm32: Fix buffer double free. 2011-12-07 17:49:59 +01:00
Andrew Eikum e532c55995 msacm32: Also load ACM drivers from key values. 2011-06-16 11:16:48 +02:00
Andrew Talbot b0cd0d1ea8 msacm32: Fix a typo. 2009-03-09 12:05:20 +01:00
Marcus Meissner f0b685d504 msacm32: Add missing HeapALloc failure checks (Coverity). 2009-02-02 15:21:44 +01:00
Andrew Talbot d1d5584299 msacm32: Declare a variable static. 2009-01-09 14:21:20 +01:00
Andrew Talbot 4256608ed2 msacm32: Declare a function static. 2009-01-08 12:40:39 +01:00
Andrew Talbot af1a91d35e msacm32: Constify some variables. 2007-05-30 15:55:27 +02:00
Andrew Talbot 6d49fb12c9 msacm32: Declare some variables static. 2007-01-12 11:23:58 +01:00
Michael Stefaniuc 0290eb1f10 msacm32: Win64 printf format warning fixes. 2006-10-12 21:43:19 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Alexandre Julliard c4fde65022 msacm32: Renamed the dlls/msacm directory to dlls/msacm32. 2006-04-10 16:55:04 +02:00
Alexandre Julliard 37b51f4acc Merged msacm and msacm32 dlls.
Merged win87em and windebug into kernel32.dll.
2000-07-24 18:30:00 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Eric Pouech 5c7f1ab978 Added the ability to open several streams on the same driver.
Added a few acmMetrics options.
1999-12-12 21:28:09 +00:00
Eric Pouech 1ddce71635 Made msacm32 really load ACM drivers. 1999-10-31 18:29:16 +00:00
Patrik Stridvall f4fca7c459 Eliminated warnings. 1999-09-11 16:27:20 +00:00
Alexandre Julliard 9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Eric Pouech 6bc8bbd3b0 Temporary #if 0'ed part for builtin modules in MSACM to make it
compile with the patch for loadable drivers.
1999-01-26 17:26:54 +00:00
Patrik Stridvall 29c08dd4df Started the implementation of MSACM.DLL and MSACM32.DLL. 1998-10-11 17:00:29 +00:00