dmime/tests: Call the correct QueryInterface function for DirectMusic track.

This commit is contained in:
Yuxuan Shui 2024-02-19 18:21:23 +00:00 committed by Alexandre Julliard
parent 24ad74ee26
commit 1df0e34293

View file

@ -4122,7 +4122,7 @@ static void test_sequence_track(void)
&IID_IDirectMusicTrack, (void **)&track);
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicSegment_QueryInterface(track, &IID_IPersistStream, (void **)&persist);
hr = IDirectMusicTrack_QueryInterface(track, &IID_IPersistStream, (void **)&persist);
ok(hr == S_OK, "got %#lx\n", hr);
hr = CreateStreamOnHGlobal(0, TRUE, &stream);
ok(hr == S_OK, "got %#lx\n", hr);