IDirectMusicSegment8::RemoveNotificationType

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicSegment8::RemoveNotificationType

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.

Syntax

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


© 2004 Microsoft Corporation. All rights reserved.