if (bRegister)
hr = SetupRegisterAllClasses(g_Templates, g_cTemplates, szFileName, TRUE );
- hr = CoInitialize(NULL);
+ CoInitialize(NULL);
TRACE("Getting IFilterMapper2\r\n");
hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER,
static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin ** ppPins, ULONG * pcFetched)
{
IEnumPinsImpl *This = impl_from_IEnumPins(iface);
- HRESULT hr = S_OK;
ULONG i = 0;
TRACE("(%p)->(%u, %p, %p)\n", iface, cPins, ppPins, pcFetched);
if (This->Version != This->receive_version(This->base))
return VFW_E_ENUM_OUT_OF_SYNC;
- while (i < cPins && hr == S_OK)
+ while (i < cPins)
{
IPin *pin;
pin = This->receive_pin(This->base, This->uIndex + i);
ISeekingPassThru *passthru;
hr = CoCreateInstance(&CLSID_SeekingPassThru, pUnkOuter, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void**)ppPassThru);
+ if (FAILED(hr))
+ return hr;
IUnknown_QueryInterface(*ppPassThru, &IID_ISeekingPassThru, (void**)&passthru);
hr = ISeekingPassThru_Init(passthru, bRenderer, pPin);
from Winehq CVS. If you are looking to update something in these files
check Wine current sources first as it may already be fixed.
-reactos/lib/3rdparty/strmbase # Synced to Wine-1.7.27
+reactos/lib/3rdparty/strmbase # Synced to WineStaging-1.7.37
reactos/lib/rtl/actctx.c # Partly synced with WineStaging-1.7.37