dsound: Drop "Buffer" from the IKsPropertySet method names.

This commit is contained in:
Michael Stefaniuc 2012-01-17 01:50:14 +01:00 committed by Alexandre Julliard
parent fe30990e8d
commit fd04e770f1
1 changed files with 20 additions and 36 deletions

View File

@ -1130,14 +1130,12 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
} }
/******************************************************************************* /*******************************************************************************
* IKsBufferPropertySet * IKsPropertySet
*/ */
/* IUnknown methods */ /* IUnknown methods */
static HRESULT WINAPI IKsBufferPropertySetImpl_QueryInterface( static HRESULT WINAPI IKsPropertySetImpl_QueryInterface(IKsPropertySet *iface, REFIID riid,
LPKSPROPERTYSET iface, void **ppobj)
REFIID riid,
LPVOID *ppobj )
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
TRACE("(%p,%s,%p)\n",This,debugstr_guid(riid),ppobj); TRACE("(%p,%s,%p)\n",This,debugstr_guid(riid),ppobj);
@ -1145,7 +1143,7 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_QueryInterface(
return IDirectSoundBuffer_QueryInterface((LPDIRECTSOUNDBUFFER8)This->dsb, riid, ppobj); return IDirectSoundBuffer_QueryInterface((LPDIRECTSOUNDBUFFER8)This->dsb, riid, ppobj);
} }
static ULONG WINAPI IKsBufferPropertySetImpl_AddRef(LPKSPROPERTYSET iface) static ULONG WINAPI IKsPropertySetImpl_AddRef(IKsPropertySet *iface)
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
ULONG ref = InterlockedIncrement(&(This->ref)); ULONG ref = InterlockedIncrement(&(This->ref));
@ -1153,7 +1151,7 @@ static ULONG WINAPI IKsBufferPropertySetImpl_AddRef(LPKSPROPERTYSET iface)
return ref; return ref;
} }
static ULONG WINAPI IKsBufferPropertySetImpl_Release(LPKSPROPERTYSET iface) static ULONG WINAPI IKsPropertySetImpl_Release(IKsPropertySet *iface)
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
ULONG ref = InterlockedDecrement(&(This->ref)); ULONG ref = InterlockedDecrement(&(This->ref));
@ -1168,15 +1166,9 @@ static ULONG WINAPI IKsBufferPropertySetImpl_Release(LPKSPROPERTYSET iface)
return ref; return ref;
} }
static HRESULT WINAPI IKsBufferPropertySetImpl_Get( static HRESULT WINAPI IKsPropertySetImpl_Get(IKsPropertySet *iface, REFGUID guidPropSet,
LPKSPROPERTYSET iface, ULONG dwPropID, void *pInstanceData, ULONG cbInstanceData, void *pPropData,
REFGUID guidPropSet, ULONG cbPropData, ULONG *pcbReturned)
ULONG dwPropID,
LPVOID pInstanceData,
ULONG cbInstanceData,
LPVOID pPropData,
ULONG cbPropData,
PULONG pcbReturned )
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
@ -1186,14 +1178,9 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_Get(
return E_PROP_ID_UNSUPPORTED; return E_PROP_ID_UNSUPPORTED;
} }
static HRESULT WINAPI IKsBufferPropertySetImpl_Set( static HRESULT WINAPI IKsPropertySetImpl_Set(IKsPropertySet *iface, REFGUID guidPropSet,
LPKSPROPERTYSET iface, ULONG dwPropID, void *pInstanceData, ULONG cbInstanceData, void *pPropData,
REFGUID guidPropSet, ULONG cbPropData)
ULONG dwPropID,
LPVOID pInstanceData,
ULONG cbInstanceData,
LPVOID pPropData,
ULONG cbPropData )
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
@ -1202,11 +1189,8 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_Set(
return E_PROP_ID_UNSUPPORTED; return E_PROP_ID_UNSUPPORTED;
} }
static HRESULT WINAPI IKsBufferPropertySetImpl_QuerySupport( static HRESULT WINAPI IKsPropertySetImpl_QuerySupport(IKsPropertySet *iface, REFGUID guidPropSet,
LPKSPROPERTYSET iface, ULONG dwPropID, ULONG *pTypeSupport)
REFGUID guidPropSet,
ULONG dwPropID,
PULONG pTypeSupport )
{ {
IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface; IKsBufferPropertySetImpl *This = (IKsBufferPropertySetImpl *)iface;
@ -1216,12 +1200,12 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_QuerySupport(
} }
static const IKsPropertySetVtbl iksbvt = { static const IKsPropertySetVtbl iksbvt = {
IKsBufferPropertySetImpl_QueryInterface, IKsPropertySetImpl_QueryInterface,
IKsBufferPropertySetImpl_AddRef, IKsPropertySetImpl_AddRef,
IKsBufferPropertySetImpl_Release, IKsPropertySetImpl_Release,
IKsBufferPropertySetImpl_Get, IKsPropertySetImpl_Get,
IKsBufferPropertySetImpl_Set, IKsPropertySetImpl_Set,
IKsBufferPropertySetImpl_QuerySupport IKsPropertySetImpl_QuerySupport
}; };
HRESULT IKsBufferPropertySetImpl_Create( HRESULT IKsBufferPropertySetImpl_Create(
@ -1255,7 +1239,7 @@ HRESULT IKsBufferPropertySetImpl_Destroy(
{ {
TRACE("(%p)\n",piks); TRACE("(%p)\n",piks);
while (IKsBufferPropertySetImpl_Release((LPKSPROPERTYSET)piks) > 0); while (IKsPropertySetImpl_Release((LPKSPROPERTYSET)piks) > 0);
return S_OK; return S_OK;
} }