Basic Object Factory class. More...
Public Member Functions | |
| TBasicObjectFactory (const MCCLSID &classId) | |
| virtual MCCOMErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj) |
| virtual uint32 MCCOMAPI | AddRef () |
| virtual MCCOMErr MCCOMAPI | CreateInstance (IMCUnknown *pUnkOuter, const MCIID &riid, void **ppvObject) |
| virtual MCCOMErr MCCOMAPI | LockServer (boolean fLock) |
Public Attributes | |
| STANDARD_RELEASE | |
Protected Attributes | |
| MCCLSID | fClassId |
Basic Object Factory class.
| TBasicObjectFactory::TBasicObjectFactory | ( | const MCCLSID & | classId | ) |
| virtual uint32 MCCOMAPI TBasicObjectFactory::AddRef | ( | ) | [inline, virtual] |
Increments the reference count of the object
Reimplemented from TBasicUnknown.
| virtual MCCOMErr MCCOMAPI TBasicObjectFactory::CreateInstance | ( | IMCUnknown * | pUnkOuter, | |
| const MCIID & | riid, | |||
| void ** | ppvObject | |||
| ) | [virtual] |
Implements IMCClassFactory.
Implements IMCClassFactory.
| virtual MCCOMErr MCCOMAPI TBasicObjectFactory::QueryInterface | ( | const MCIID & | riid, | |
| void ** | ppvObj | |||
| ) | [virtual] |
Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.
| riid | GUID of the interface | |
| ppvObj | A pointer to the pointer being returned. |
Reimplemented from TBasicUnknown.
MCCLSID TBasicObjectFactory::fClassId [protected] |
1.6.3