Microsoft DirectX 8.0 (C++) |
Fills a buffer with incoming MIDI data. The method should be called with new buffer objects until no more data is available to be read.
HRESULT Read( LPDIRECTMUSICBUFFER pBuffer );
If the method succeeds, the return value is S_OK or S_FALSE.
If it fails, the method can return one of the following error values:
E_POINTER |
E_NOTIMPL |
When there is no more data to read, the method returns S_FALSE.
Header: Declared in dmusicc.h.