The IDirectMusicPerformance::GetNotificationPMsg method is called by the application to retrieve pending notification messages.
HRESULT GetNotificationPMsg(
DMUS_NOTIFICATION_PMSG** ppNotificationPMsg
);
If the method succeeds, the return value is S_OK or, if there are no more notification events to return, S_FALSE.
If it fails, the method may return E_POINTER.
For an example, see Handling Notifications in the tutorial on Using Compositions.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.