Microsoft DirectX 9.0


The RemoveNotificationType method removes a type of data for which notifications are required. 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



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.


  Header: Declared in dmusici.h.

See Also