Commit 7959778d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent e1f83fd2
...@@ -627,6 +627,9 @@ static HRESULT test_primary_secondary(LPGUID lpGuid) ...@@ -627,6 +627,9 @@ static HRESULT test_primary_secondary(LPGUID lpGuid)
"IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x\n",rc); "IDirectSound_CreateSoundBuffer() failed to create a secondary buffer %08x\n",rc);
if (rc==DS_OK && secondary!=NULL) { 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, test_buffer(dso,&secondary,0,FALSE,0,FALSE,0,
winetest_interactive,1.0,0,NULL,0,0,FALSE,0); winetest_interactive,1.0,0,NULL,0,0,FALSE,0);
......
...@@ -639,6 +639,9 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid) ...@@ -639,6 +639,9 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid)
"buffer %08x\n",rc); "buffer %08x\n",rc);
if (rc==DS_OK && secondary!=NULL) { 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, test_buffer8(dso,&secondary,0,FALSE,0,FALSE,0,
winetest_interactive,1.0,0,NULL,0,0); winetest_interactive,1.0,0,NULL,0,0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment