Microsoft DirectX 8.1 (Visual Basic) |
The AddNotificationType method 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