Public Member Functions | |
virtual uint32 MCCOMAPI | GetComponentCount ()=0 |
virtual MCCOMErr MCCOMAPI | GetComponentData (uint32 index, APICOMPData &compData, TMCResource *&privateData, APIGUIDData &guidData)=0 |
virtual MCCOMErr MCCOMAPI | UnregisterComponents ()=0 |
A Registerer is an object that can register components dynamically (by opposition with the static registration that is done using the resource). It is typically used when the existance of components is conditionned by other installed software.
virtual uint32 MCCOMAPI IExRegisterer::GetComponentCount | ( | ) | [pure virtual] |
Returns the number of component that needs to be registered.
Implemented in TBasicRegisterer.
virtual MCCOMErr MCCOMAPI IExRegisterer::GetComponentData | ( | uint32 | index, | |
APICOMPData & | compData, | |||
TMCResource *& | privateData, | |||
APIGUIDData & | guidData | |||
) | [pure virtual] |
Returns the registration info of each component.
index | The index of the component between 0 and GetComponentCount(). | |
compData | The 'COMP' resource. | |
privateData | A resource associated with that component class | |
guidData | The GUID resource. |
Implemented in TBasicRegisterer.
virtual MCCOMErr MCCOMAPI IExRegisterer::UnregisterComponents | ( | ) | [pure virtual] |
Called once the component are not used anymore
Implemented in TBasicRegisterer.