mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 02:51:19 +00:00
dmime/tests: Avoid discarding old notifications in test.
This commit is contained in:
parent
7e1989b963
commit
ddd877d1c7
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue