Microsoft DirectX 8.0 (C++) |
Removes a previously added notification type from the performance. All segments and tracks are updated by a call to their RemoveNotificationType methods.
HRESULT RemoveNotificationType( REFGUID rguidNotificationType );
If the method succeeds, the return value is S_OK or S_FALSE (see Remarks).
If it fails, the method can return E_POINTER.
S_FALSE is returned when rguidNotificationType is not an active notification.
If a notification was added to a segment that has stopped playing, the performance cannot remove the notification type from that segment because it no longer has a reference to the segment.
Header: Declared in dmusici.h.
IDirectMusicPerformance8::AddNotificationType, IDirectMusicSegment8::RemoveNotificationType, IDirectMusicTrack8::RemoveNotificationType, Notification and Event Handling