MSACM: acmDriverAddW skeleton, implementation of ACM_DRIVERADDF_NAME

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Jan 16 11:56:48 CST 2006


Current acmDriverAddA implementation is nonfunctional: it ignores the 
cases for ACM_DRIVERADDF_NAME and ACM_DRIVERADDF_NOTIFYHWND, and expects 
an HDRV for ACM_DRIVERADDF_FUNCTION, when MSDN says it should be a 
HMODULE/driverProc combination. Probably related to recent report in 
wine-devel "SJphone crashing", where crash location is in the bowels of 
builtin msacm.

Attached patch requires wine-msacm-06-driverPriority_save.patch to be 
applied first, in order to have MSACM_BroadcastNotification stub.

Changelog:
* Rework acmDriverAddA to call acmDriverAddW
* Implement stub for acmDriverAddW with switch for the 3 known cases of 
driver add
* Implementation for case ACM_DRIVERADDF_NAME, which loads driver name & 
alias from registry (similar to msacm32 load).

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-msacm-08-acmDriverAddW-ACM_DRIVERADDF_NAME.patch
Type: text/x-patch
Size: 7235 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060116/21d79689/wine-msacm-08-acmDriverAddW-ACM_DRIVERADDF_NAME.patch


More information about the wine-patches mailing list