dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer vtbl.

This commit is contained in:
Michael Stefaniuc 2011-08-29 00:28:50 +02:00 committed by Alexandre Julliard
parent e1f83fd205
commit 7959778d3f
2 changed files with 6 additions and 0 deletions

View file

@ -627,6 +627,9 @@ static HRESULT test_primary_secondary(LPGUID lpGuid)
"IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x\n",rc);
if (rc==DS_OK && secondary!=NULL) {
todo_wine ok(primary->lpVtbl==secondary->lpVtbl,
"Primary and secondary buffers have different vtbls.\n");
test_buffer(dso,&secondary,0,FALSE,0,FALSE,0,
winetest_interactive,1.0,0,NULL,0,0,FALSE,0);

View file

@ -639,6 +639,9 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid)
"buffer %08x\n",rc);
if (rc==DS_OK && secondary!=NULL) {
todo_wine ok(primary->lpVtbl==secondary->lpVtbl,
"Primary and secondary buffers have different vtbls.\n");
test_buffer8(dso,&secondary,0,FALSE,0,FALSE,0,
winetest_interactive,1.0,0,NULL,0,0);