dmime/tests: Avoid discarding old notifications in test.

This commit is contained in:
Rémi Bernon 2023-11-10 15:04:17 +01:00 committed by Alexandre Julliard
parent 7e1989b963
commit ddd877d1c7

View file

@ -3176,6 +3176,10 @@ static void test_notification_pmsg(void)
hr = IDirectMusicPerformance_AddNotificationType(performance, &GUID_NOTIFICATION_SEGMENT);
ok(hr == S_FALSE, "got %#lx\n", hr);
/* avoid discarding older notifications */
hr = IDirectMusicPerformance_SetNotificationHandle(performance, 0, 100000000);
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicPerformance_PlaySegment(performance, segment, 0, 0, &state);
ok(hr == S_OK, "got %#lx\n", hr);
hr = IDirectMusicPerformance_GetTime(performance, NULL, &music_time);