Author: akhaldi
Date: Sat Mar 5 11:06:50 2016
New Revision: 70952
URL:
http://svn.reactos.org/svn/reactos?rev=70952&view=rev
Log:
[WINMM_WINETEST] Sync with Wine Staging 1.9.4. CORE-10912
Modified:
trunk/rostests/winetests/winmm/mixer.c
Modified: trunk/rostests/winetests/winmm/mixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/winmm/mixer.c?r…
==============================================================================
--- trunk/rostests/winetests/winmm/mixer.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/winmm/mixer.c [iso-8859-1] Sat Mar 5 11:06:50 2016
@@ -438,11 +438,13 @@
mixerlineA.cbStruct = sizeof(mixerlineA);
mixerlineA.dwDestination=d;
+ mixerlineA.dwUser = (ULONG_PTR)0xdeadbeef;
rc = mixerGetLineInfoA(mix, &mixerlineA,
MIXER_GETLINEINFOF_DESTINATION);
ok(rc==MMSYSERR_NOERROR||rc==MMSYSERR_NODRIVER,
"mixerGetLineInfoA(MIXER_GETLINEINFOF_DESTINATION): "
"MMSYSERR_NOERROR expected, got %s\n",
mmsys_error(rc));
+ ok(mixerlineA.dwUser == 0, "dwUser was not reset\n");
if (rc==MMSYSERR_NODRIVER)
trace(" No Driver\n");
else if (rc==MMSYSERR_NOERROR) {
@@ -822,11 +824,13 @@
mixerlineW.cbStruct = sizeof(mixerlineW);
mixerlineW.dwDestination=d;
+ mixerlineW.dwUser = (ULONG_PTR)0xdeadbeef;
rc = mixerGetLineInfoW(mix, &mixerlineW,
MIXER_GETLINEINFOF_DESTINATION);
ok(rc==MMSYSERR_NOERROR||rc==MMSYSERR_NODRIVER,
"mixerGetLineInfoW(MIXER_GETLINEINFOF_DESTINATION): "
"MMSYSERR_NOERROR expected, got %s\n",
mmsys_error(rc));
+ ok(mixerlineW.dwUser == 0, "dwUser was not reset\n");
if (rc==MMSYSERR_NODRIVER)
trace(" No Driver\n");
else if (rc==MMSYSERR_NOERROR && winetest_interactive) {