dmusic: Implement IDirectMusicBufferImpl_GetRawBufferPtr.

This commit is contained in:
Christian Costa 2012-04-24 22:32:44 +02:00 committed by Alexandre Julliard
parent 5f6a3807fd
commit 6800851f1d
1 changed files with 7 additions and 2 deletions

View File

@ -125,11 +125,16 @@ static HRESULT WINAPI IDirectMusicBufferImpl_GetNextEvent(LPDIRECTMUSICBUFFER if
return S_OK;
}
static HRESULT WINAPI IDirectMusicBufferImpl_GetRawBufferPtr(LPDIRECTMUSICBUFFER iface, LPBYTE* ppData)
static HRESULT WINAPI IDirectMusicBufferImpl_GetRawBufferPtr(LPDIRECTMUSICBUFFER iface, LPBYTE* data)
{
IDirectMusicBufferImpl *This = impl_from_IDirectMusicBuffer(iface);
FIXME("(%p, %p): stub\n", This, ppData);
TRACE("(%p)->(%p)\n", iface, data);
if (!data)
return E_POINTER;
*data = This->data;
return S_OK;
}