ITSS: LockServer implementation
Jacek Caban
jack at itma.pwr.wroc.pl
Tue Feb 22 08:34:04 CST 2005
Changelog:
Added implementation of LockServer
-------------- next part --------------
Index: dlls/itss/itss.c
===================================================================
RCS file: /home/wine/wine/dlls/itss/itss.c,v
retrieving revision 1.9
diff -u -r1.9 itss.c
--- dlls/itss/itss.c 14 Jan 2005 17:21:00 -0000 1.9
+++ dlls/itss/itss.c 22 Feb 2005 14:28:11 -0000
@@ -146,10 +146,15 @@
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;
}
More information about the wine-patches
mailing list