COM Library
|
The singleton coclass factory. More...
#include <ClassFactory.hpp>
Public Member Functions | |
ClassFactory (const CLSID &rCLSID) | |
Construction from a CLSID. | |
~ClassFactory () | |
Destructor. | |
virtual HRESULT COMCALL | CreateInstance (IUnknown *pOuter, const IID &rIID, void **ppInterface) |
Create an instance object of the class. | |
virtual HRESULT COMCALL | LockServer (BOOL fLock) |
Lock the COM server. | |
Private Attributes | |
CLSID | m_oCLSID |
The CLSID to manufacture objects of. |
The singleton coclass factory.
COM::ClassFactory::ClassFactory | ( | const CLSID & | rCLSID | ) |
Construction from a CLSID.
Destructor.
HRESULT COMCALL COM::ClassFactory::CreateInstance | ( | IUnknown * | pOuter, |
const IID & | rIID, | ||
void ** | ppInterface | ||
) | [virtual] |
Create an instance object of the class.
HRESULT COMCALL COM::ClassFactory::LockServer | ( | BOOL | fLock | ) | [virtual] |
Lock the COM server.
CLSID COM::ClassFactory::m_oCLSID [private] |
The CLSID to manufacture objects of.