CClassFactory Class Reference

Inheritance diagram for CClassFactory:

CBaseObject

List of all members.

Public Member Functions

 CClassFactory (const CFactoryTemplate *)
STDMETHODIMP QueryInterface (REFIID riid, void **ppv)
 STDMETHODIMP_ (ULONG) AddRef()
 STDMETHODIMP_ (ULONG) Release()
STDMETHODIMP CreateInstance (LPUNKNOWN pUnkOuter, REFIID riid, void **pv)
STDMETHODIMP LockServer (BOOL fLock)

Static Public Member Functions

static BOOL IsLocked ()

Private Attributes

const CFactoryTemplate *const m_pTemplate
ULONG m_cRef

Static Private Attributes

static int m_cLocked = 0


Detailed Description

Definition at line 25 of file dllentry.cpp.


Constructor & Destructor Documentation

CClassFactory::CClassFactory ( const CFactoryTemplate pTemplate  ) 

Definition at line 51 of file dllentry.cpp.

Referenced by DllGetClassObject().


Member Function Documentation

STDMETHODIMP CClassFactory::QueryInterface ( REFIID  riid,
void **  ppv 
)

Definition at line 59 of file dllentry.cpp.

References CheckPointer, E_NOINTERFACE, LPVOID, NULL, and ValidateReadWritePtr.

CClassFactory::STDMETHODIMP_ ( ULONG   ) 

CClassFactory::STDMETHODIMP_ ( ULONG   ) 

STDMETHODIMP CClassFactory::CreateInstance ( LPUNKNOWN  pUnkOuter,
REFIID  riid,
void **  pv 
)

STDMETHODIMP CClassFactory::LockServer ( BOOL  fLock  ) 

Definition at line 135 of file dllentry.cpp.

References m_cLocked.

static BOOL CClassFactory::IsLocked (  )  [inline, static]

Definition at line 44 of file dllentry.cpp.

References m_cLocked.

Referenced by DllCanUnloadNow().


Member Data Documentation

Definition at line 29 of file dllentry.cpp.

Referenced by CreateInstance().

Definition at line 31 of file dllentry.cpp.

int CClassFactory::m_cLocked = 0 [static, private]

Definition at line 33 of file dllentry.cpp.

Referenced by IsLocked(), and LockServer().


The documentation for this class was generated from the following file:

Generated on Sun May 25 00:20:37 2008 by  doxygen 1.5.6