Microsoft DirectX 8.0 (C++) |
Sets the event handle (created by the Microsoft® Win32® CreateEvent function) for notifications. The application should use the Win32 WaitForSingleObject function on this handle. When signaled, the application should call the IDirectMusicPerformance8::GetNotificationPMsg method to retrieve the notification event.
HRESULT SetNotificationHandle( HANDLE hNotification, REFERENCE_TIME rtMinimum );
The method returns S_OK.
It is the application's responsibility to call the Win32 CloseHandle function on the notification handle when it is no longer needed.
Header: Declared in dmusici.h.