Commit 7a23361a authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

comsvcs: Implement IHolder Alloc/Free Resource.

parent a68d7800
...@@ -107,19 +107,29 @@ static ULONG WINAPI holder_Release(IHolder *iface) ...@@ -107,19 +107,29 @@ static ULONG WINAPI holder_Release(IHolder *iface)
static HRESULT WINAPI holder_AllocResource(IHolder *iface, const RESTYPID typeid, RESID *resid) static HRESULT WINAPI holder_AllocResource(IHolder *iface, const RESTYPID typeid, RESID *resid)
{ {
holder *This = impl_from_IHolder(iface); holder *This = impl_from_IHolder(iface);
HRESULT hr;
TIMEINSECS secs;
FIXME("(%p)->(%08lx, %p) stub\n", This, typeid, resid); TRACE("(%p)->(%08lx, %p) stub\n", This, typeid, resid);
return E_NOTIMPL; hr = IDispenserDriver_CreateResource(This->driver, typeid, resid, &secs);
TRACE("<- 0x%08x\n", hr);
return hr;
} }
static HRESULT WINAPI holder_FreeResource(IHolder *iface, const RESID resid) static HRESULT WINAPI holder_FreeResource(IHolder *iface, const RESID resid)
{ {
holder *This = impl_from_IHolder(iface); holder *This = impl_from_IHolder(iface);
HRESULT hr;
FIXME("(%p)->(%08lx) stub\n", This, resid); TRACE("(%p)->(%08lx) stub\n", This, resid);
return E_NOTIMPL; hr = IDispenserDriver_DestroyResource(This->driver, resid);
TRACE("<- 0x%08x\n", hr);
return hr;
} }
static HRESULT WINAPI holder_TrackResource(IHolder *iface, const RESID resid) static HRESULT WINAPI holder_TrackResource(IHolder *iface, const RESID resid)
......
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