Microsoft DirectX 8.0 (C++)

IDirectMusicSegment8::RemoveNotificationType

Removes a notification type. This method is called by the IDirectMusicPerformance8::RemoveNotificationType method, allowing the segment to remove notifications. The segment calls each track's IDirectMusicTrack8::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, or S_FALSE if the notification type was not previously set.

If it fails, the method can return E_POINTER.

Requirements

  Header: Declared in dmusici.h.

See Also

Notification and Event Handling