summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/classfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/shlxthandler/classfactory.cxx')
-rw-r--r--shell/source/win32/shlxthandler/classfactory.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/shell/source/win32/shlxthandler/classfactory.cxx b/shell/source/win32/shlxthandler/classfactory.cxx
index 977b3ce8168e..9ca1efedfaf0 100644
--- a/shell/source/win32/shlxthandler/classfactory.cxx
+++ b/shell/source/win32/shlxthandler/classfactory.cxx
@@ -31,11 +31,9 @@ using ::std::min;
#include "internal/shlxthdl.hxx"
-
long CClassFactory::s_ServerLocks = 0;
-
CClassFactory::CClassFactory(const CLSID& clsid) :
m_RefCnt(1),
m_Clsid(clsid)
@@ -44,7 +42,6 @@ CClassFactory::CClassFactory(const CLSID& clsid) :
}
-
CClassFactory::~CClassFactory()
{
InterlockedDecrement(&g_DllRefCnt);
@@ -70,14 +67,12 @@ HRESULT STDMETHODCALLTYPE CClassFactory::QueryInterface(REFIID riid, void __RPC_
}
-
ULONG STDMETHODCALLTYPE CClassFactory::AddRef()
{
return InterlockedIncrement(&m_RefCnt);
}
-
ULONG STDMETHODCALLTYPE CClassFactory::Release()
{
long refcnt = InterlockedDecrement(&m_RefCnt);
@@ -128,7 +123,6 @@ HRESULT STDMETHODCALLTYPE CClassFactory::CreateInstance(
}
-
HRESULT STDMETHODCALLTYPE CClassFactory::LockServer(BOOL fLock)
{
if (fLock)
@@ -140,7 +134,6 @@ HRESULT STDMETHODCALLTYPE CClassFactory::LockServer(BOOL fLock)
}
-
bool CClassFactory::IsLocked()
{
return (s_ServerLocks > 0);