Public Member Functions | |
virtual MCCOMErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj) |
virtual uint32 MCCOMAPI | AddRef () |
virtual TMCCommandBindingContextList *MCCOMAPI | GetCommandBindingContexts () |
Static Public Member Functions | |
static void | PrepareBindingContext (TMCCommandBindingContext &ioContext, IDType inContextID, int16 inNameRessourceID, int16 inNameStringIndex) |
virtual uint32 MCCOMAPI TBasicPrefsComponent::AddRef | ( | ) | [inline, virtual] |
Increments the reference count of the object
Reimplemented from TBasicDataExchanger.
virtual TMCCommandBindingContextList* MCCOMAPI TBasicPrefsComponent::GetCommandBindingContexts | ( | ) | [inline, virtual] |
Returns a pointer to the binding contexts of the component, null if it has none
Implements IExPrefsComponent.
static void TBasicPrefsComponent::PrepareBindingContext | ( | TMCCommandBindingContext & | ioContext, | |
IDType | inContextID, | |||
int16 | inNameRessourceID, | |||
int16 | inNameStringIndex | |||
) | [static] |
Sets the name and id of a TMCCommandBindingContext
ioContext | the context to setup | |
inContextID | the context's ID | |
inNameRessourceID | the STR# resource number from which the context's name will be loaded | |
inNameStringIndex | the index of the context's name in the previous STR# resource |
virtual MCCOMErr MCCOMAPI TBasicPrefsComponent::QueryInterface | ( | const MCIID & | riid, | |
void ** | ppvObj | |||
) | [inline, 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 TBasicDataExchanger.