msacm: Preserve value of cbStruct in acmDriverDetails.
commit9a95aa7da20178737232bc8c99357943197e451c
authorAlex Villacís Lasso <a_villacis@palosanto.com>
Tue, 20 Dec 2005 10:48:01 +0000 (20 11:48 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Dec 2005 10:48:01 +0000 (20 11:48 +0100)
tree94bfe8380e68920762658af8cb58f68c78f3688f
parentfe36b7baca253f1e95cc790b84308969bd6ecc60
msacm: Preserve value of cbStruct in acmDriverDetails.
Ensure that the cbStruct member of the ACMDRIVERDETAILS[AW] struct is
filled with a valid value before returning.
Fill the cbStruct member of the ACMDRIVERDETAILS[AW] before sending a
ACMDM_DRIVER_DETAILS message to an installed codec that might be a
native library: native ACM codecs expect cbStruct to be valid before
filling the rest of the struct with any data.
dlls/msacm/driver.c
dlls/msacm/tests/msacm.c