
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 |
Definition at line 25 of file dllentry.cpp.
| CClassFactory::CClassFactory | ( | const CFactoryTemplate * | pTemplate | ) |
| 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 | |||
| ) |
Definition at line 94 of file dllentry.cpp.
References ASSERT, CheckPointer, CFactoryTemplate::CreateInstance(), E_NOINTERFACE, E_OUTOFMEMORY, FAILED, FALSE, hr, HRESULT, m_pTemplate, CUnknown::NonDelegatingQueryInterface(), NULL, and ValidateReadWritePtr.
| STDMETHODIMP CClassFactory::LockServer | ( | BOOL | fLock | ) |
| static BOOL CClassFactory::IsLocked | ( | ) | [inline, static] |
const CFactoryTemplate* const CClassFactory::m_pTemplate [private] |
ULONG CClassFactory::m_cRef [private] |
Definition at line 31 of file dllentry.cpp.
int CClassFactory::m_cLocked = 0 [static, private] |
1.5.6