Microsoft DirectX 8.0 (Visual Basic)

DirectMusicPerformance8.AddNotificationType

Causes the performance to generate notification messages whenever events of the requested type occur.

object.AddNotificationType( _
    type As CONST_DMUS_NOTIFICATION_TYPE)

Parts

object
Resolves to a DirectMusicPerformance8 object.
type
Type of event for which notification messages are to be sent. For possible values, see CONST_DMUS_NOTIFICATION_TYPE.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DMUS_E_INVALIDARG
DMUS_E_OUTOFMEMORY

See Also

DirectMusicPerformance8.RemoveNotificationType