Commit 84e292c6 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Fix IDirectSoundBuffer8_Initialize function prototype and use.

parent 1f787ca6
...@@ -886,7 +886,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetObjectInPath( ...@@ -886,7 +886,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetObjectInPath(
} }
static HRESULT WINAPI IDirectSoundBufferImpl_Initialize( static HRESULT WINAPI IDirectSoundBufferImpl_Initialize(
LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND8 dsound,LPCDSBUFFERDESC dbsd LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND dsound,LPCDSBUFFERDESC dbsd
) { ) {
ICOM_THIS(IDirectSoundBufferImpl,iface); ICOM_THIS(IDirectSoundBufferImpl,iface);
FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd); FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd);
...@@ -1325,7 +1325,7 @@ static HRESULT WINAPI SecondaryBufferImpl_GetStatus( ...@@ -1325,7 +1325,7 @@ static HRESULT WINAPI SecondaryBufferImpl_GetStatus(
} }
static HRESULT WINAPI SecondaryBufferImpl_Initialize( static HRESULT WINAPI SecondaryBufferImpl_Initialize(
LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND8 dsound,LPCDSBUFFERDESC dbsd) LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND dsound,LPCDSBUFFERDESC dbsd)
{ {
ICOM_THIS(SecondaryBufferImpl,iface); ICOM_THIS(SecondaryBufferImpl,iface);
TRACE("(%p,%p,%p)\n",This,dsound,dbsd); TRACE("(%p,%p,%p)\n",This,dsound,dbsd);
......
...@@ -932,7 +932,7 @@ static HRESULT WINAPI PrimaryBufferImpl_GetObjectInPath( ...@@ -932,7 +932,7 @@ static HRESULT WINAPI PrimaryBufferImpl_GetObjectInPath(
} }
static HRESULT WINAPI PrimaryBufferImpl_Initialize( static HRESULT WINAPI PrimaryBufferImpl_Initialize(
LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND8 dsound,LPCDSBUFFERDESC dbsd LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND dsound,LPCDSBUFFERDESC dbsd
) { ) {
ICOM_THIS(PrimaryBufferImpl,iface); ICOM_THIS(PrimaryBufferImpl,iface);
FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd); FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd);
......
...@@ -554,7 +554,7 @@ ICOM_DEFINE(IDirectSoundBuffer,IUnknown) ...@@ -554,7 +554,7 @@ ICOM_DEFINE(IDirectSoundBuffer,IUnknown)
STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE; \ STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE; \
STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; \ STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE; \
STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; \ STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE; \
STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND8 lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; \ STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE; \
STDMETHOD(Lock)(THIS_ DWORD dwWriteCursor, DWORD dwWriteBytes, LPVOID lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE; \ STDMETHOD(Lock)(THIS_ DWORD dwWriteCursor, DWORD dwWriteBytes, LPVOID lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE; \
STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE; \ STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE; \
STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE; \ STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment