Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FCM::IFCMCallback Class Referenceabstract

Defines the interface that represents the callback. More...

#include <IFCMCallback.h>

Inheritance diagram for FCM::IFCMCallback:
FCM::IFCMUnknown

Public Member Functions

virtual FCM::Result _FCMCALL CreateInstance (PIFCMUnknown pUnkOuter, ConstRefFCMCLSID classID, ConstRefFCMIID interfaceID, FCM::PPVoid ppvObj)=0
 Creates a single object of the class associated with the specified classID. More...
 
virtual FCM::Result _FCMCALL GetService (const FCM::SRVCID &serviceId, PIFCMUnknown &serviceRef)=0
 Gets the object implementing a service with its serviceId. More...
 
- Public Member Functions inherited from FCM::IFCMUnknown
virtual FCM::Result _FCMCALL QueryInterface (ConstRefFCMIID pInterfaceID, FCM::PPVoid ppvObj)=0
 Return pointers to supported interfaces on given object. More...
 
virtual FCM::U_Int32 _FCMCALL AddRef ()=0
 Increments the reference count on the given object. More...
 
virtual FCM::U_Int32 _FCMCALL Release ()=0
 Decrements the reference count on the given object. More...
 

Detailed Description

Defines the interface that represents the callback.

Member Function Documentation

virtual FCM::Result _FCMCALL FCM::IFCMCallback::CreateInstance ( PIFCMUnknown  pUnkOuter,
ConstRefFCMCLSID  classID,
ConstRefFCMIID  interfaceID,
FCM::PPVoid  ppvObj 
)
pure virtual

Creates a single object of the class associated with the specified classID.

Parameters
pUnkOuter(IN) If NULL, indicates that the object is not being created as part of an aggregate.If non-NULL, pointer to the aggregate object's IUnknown interface.
classID(IN) The CLSID associated with the data and code that will be used to create the object.
interfaceID(IN) A reference to the identifier of the interface to be used to communicate with the object.
ppvObj(OUT) Address of pointer variable that receives the interface pointer requested in interfaceID.Upon successful return, *ppvObj contains the requested interface pointer, which the caller should release after the use. Upon failure, *ppvObj contains NULL.
Returns
FCM_SUCCESS is returned for success, else an error code is returned.
virtual FCM::Result _FCMCALL FCM::IFCMCallback::GetService ( const FCM::SRVCID serviceId,
PIFCMUnknown &  serviceRef 
)
pure virtual

Gets the object implementing a service with its serviceId.

Parameters
serviceId(IN) Service ID associated with the service.
serviceRef(OUT) The service object, which the caller should release after the use.
Returns
FCM_SUCCESS is returned for success, else an error code is returned.

The documentation for this class was generated from the following file: