Platform SDK: DirectX

IDirectMusicSegment::RemoveNotificationType

The IDirectMusicSegment::RemoveNotificationType method is similar to and is called from the IDirectMusicPerformance::RemoveNotificationType method, allowing the segment to remove notifications. The segment calls each track's IDirectMusicTrack::RemoveNotificationType method.

HRESULT RemoveNotificationType(
  REFGUID rguidNotificationType
);

Parameters

rguidNotificationType
Reference to (C++) or address of (C) the identifier of the notification type to remove. (For the defined types, see DMUS_NOTIFICATION_PMSG.) Setting this value to GUID_NULL causes all notifications to be removed.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.

See Also

Notification and Event Handling