mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 17:43:44 +00:00
msacm32/tests: msacm32 can enumerate drivers that cannot be loaded or have their details queried. Deal with this properly.
This commit is contained in:
parent
157c1629c1
commit
bfe83b22c2
1 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
|
|||
/* MSDN says this should fail but it doesn't in practice */
|
||||
dd.cbStruct = 4;
|
||||
rc = acmDriverDetails(hadid, &dd, 0);
|
||||
ok(rc == MMSYSERR_NOERROR,
|
||||
ok(rc == MMSYSERR_NOERROR || rc == MMSYSERR_NOTSUPPORTED,
|
||||
"acmDriverDetails(): rc = %08x, should be %08x\n",
|
||||
rc, MMSYSERR_NOERROR);
|
||||
|
||||
|
@ -119,7 +119,7 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
|
|||
|
||||
/* try valid parameters */
|
||||
rc = acmDriverDetails(hadid, &dd, 0);
|
||||
ok(rc == MMSYSERR_NOERROR,
|
||||
ok(rc == MMSYSERR_NOERROR || rc == MMSYSERR_NOTSUPPORTED,
|
||||
"acmDriverDetails(): rc = %08x, should be %08x\n",
|
||||
rc, MMSYSERR_NOERROR);
|
||||
|
||||
|
@ -210,7 +210,7 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
|
|||
|
||||
/* try valid parameters */
|
||||
rc = acmDriverOpen(&had, hadid, 0);
|
||||
ok(rc == MMSYSERR_NOERROR,
|
||||
ok(rc == MMSYSERR_NOERROR || rc == MMSYSERR_NODRIVER,
|
||||
"acmDriverOpen(): rc = %08x, should be %08x\n",
|
||||
rc, MMSYSERR_NOERROR);
|
||||
|
||||
|
|
Loading…
Reference in a new issue