IDirectMusicPerformance::GetNotificationPMsg

The IDirectMusicPerformance::GetNotificationPMsg method is called by the application to retrieve pending notification messages.

HRESULT GetNotificationPMsg(
  DMUS_NOTIFICATION_PMSG** ppNotificationPMsg
);
 

Parameters

ppNotificationPMsg
Address of a variable to receive a pointer to a DMUS_NOTIFICATION_PMSG structure. The application retrieving this message is responsible for calling IDirectMusicPerformance::FreePMsg on it.

Return Values

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.

Remarks

For an example, see Handling Notifications in the tutorial on Using Compositions.

QuickInfo

  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.

See Also

Notification and Event Handling