dmusic: Improve IDirectMusicPortDownloadImpl_GetBuffer stub.

This commit is contained in:
Christian Costa 2008-12-22 14:08:23 +01:00 committed by Alexandre Julliard
parent f86b6e87f3
commit ba081eb221
1 changed files with 6 additions and 1 deletions

View File

@ -276,8 +276,13 @@ static ULONG WINAPI IDirectMusicPortDownloadImpl_Release (LPDIRECTMUSICPORTDOWNL
/* IDirectMusicPortDownload Interface follow: */
static HRESULT WINAPI IDirectMusicPortDownloadImpl_GetBuffer (LPDIRECTMUSICPORTDOWNLOAD iface, DWORD dwDLId, IDirectMusicDownload** ppIDMDownload) {
ICOM_THIS_MULTI(IDirectMusicPortImpl, lpDownloadVtbl, iface);
FIXME("(%p/%p)->(%d, %p): stub\n", This, iface, dwDLId, ppIDMDownload);
return S_OK;
if (!ppIDMDownload)
return E_POINTER;
return DMUSIC_CreateDirectMusicDownloadImpl(&IID_IDirectMusicDownload, (LPVOID*)ppIDMDownload, NULL);
}
static HRESULT WINAPI IDirectMusicPortDownloadImpl_AllocateBuffer (LPDIRECTMUSICPORTDOWNLOAD iface, DWORD dwSize, IDirectMusicDownload** ppIDMDownload) {