Microsoft DirectX 8.0 (C++) |
Specifies an event that is to be set when MIDI messages are available to be read with the IDirectMusicPort8::Read method. The event is signaled whenever new data is available. To turn off event notification, call SetReadNotificationHandle with a NULL value for the hEvent parameter.
HRESULT SetReadNotificationHandle( HANDLE hEvent );
If it succeeds, the method returns S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_DMUSIC_RELEASED |
E_NOTIMPL |
A return value of E_NOTIMPL can mean the port is not an input port.
Header: Declared in dmusicc.h.