Added implementation of LockServer.

This commit is contained in:
Jacek Caban 2005-02-22 19:30:24 +00:00 committed by Alexandre Julliard
parent beea69c820
commit 73a35a29b9
1 changed files with 8 additions and 3 deletions

View File

@ -146,10 +146,15 @@ static HRESULT WINAPI ITSSCF_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pOut
return hres;
}
static HRESULT WINAPI ITSSCF_LockServer(LPCLASSFACTORY iface,BOOL dolock)
static HRESULT WINAPI ITSSCF_LockServer(LPCLASSFACTORY iface, BOOL dolock)
{
IClassFactoryImpl *This = (IClassFactoryImpl *)iface;
FIXME("(%p)->(%d),stub!\n",This,dolock);
TRACE("(%p)->(%d)\n", iface, dolock);
if(dolock)
InterlockedIncrement(&dll_count);
else
InterlockedDecrement(&dll_count);
return S_OK;
}