Microsoft DirectX 8.0 (C++) |
Cues a buffer for playback by the port.
HRESULT PlayBuffer( LPDIRECTMUSICBUFFER pBuffer );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_FAIL |
E_INVALIDARG |
E_NOTIMPL |
E_OUTOFMEMORY |
The buffer is in use by the system only for the duration of this method and can be reused after the method returns.
If no start time has been set by using the IDirectMusicBuffer8::SetStartTime method, the start time is the time of the earliest event in the buffer, as set by the IDirectMusicBuffer8::PackStructured or the IDirectMusicBuffer8::PackUnstructured method.
Header: Declared in dmusicc.h.