Platform SDK: DirectX

DirectMusicPerformance.GetNotificationPMsg

The DirectMusicPerformance.GetNotificationPMsg method retrieves a pending notification message.

object.GetNotificationPMSG( _ 
    message As DMUS_NOTIFICATION_PMSG) As Boolean

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.
message
DMUS_NOTIFICATION_PMSG type to receive the message.

Return Values

If the method succeeds, it returns True if a message was received, and False if there was no message pending.

Error Codes

If the method fails, it raises an error, and Err.Number is set.