MSACM: preserve value of cbStruct in acmDriverDetails (with tests) - patch 1 of 2

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Dec 19 11:37:14 CST 2005


I have been playing with a sample application from MSDN called ACMAPP, 
which is an example of the msacm32 API, and which exposes a number of 
bugs in the wine version of msacm32. The first bug is that 
acmDriverDetails[AW] is supposed to preserve the value of cbStruct 
member of the ACMDRIVERDETAILS[AW] struct, if at all possible. The 
example MSDN app displays a bogus value as the returned size of the data 
for acmDriverDetails otherwise.

This patch adds a test for msacm32, which currently fails with builtin 
msacm32, and succeeds with the win98 version of msacm32.dll.

Changelog:
* Add test that shows that native msacm32 preserves the value of 
cbStruct in acmDriverDetails.

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-msacm-driver-cbStruct-test.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051219/668e9fde/wine-msacm-driver-cbStruct-test-0001.patch


More information about the wine-patches mailing list