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

Defines the interface that represents the calloc. More...

#include <IFCMCalloc.h>

Inheritance diagram for FCM::IFCMCalloc:
FCM::IFCMUnknown

Public Member Functions

virtual FCM::PVoid _FCMCALL Alloc (FCM::U_Int32 cb)=0
 Allocates memory of the size requested by the parameter cb. More...
 
virtual void _FCMCALL Free (FCM::PVoid pv)=0
 Deallocates the memory pointed by the param pv. 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 calloc.

Member Function Documentation

virtual FCM::PVoid _FCMCALL FCM::IFCMCalloc::Alloc ( FCM::U_Int32  cb)
pure virtual

Allocates memory of the size requested by the parameter cb.

Parameters
cb(IN) Size of the memory to be allocated.
Returns
Returns a pointer to the allocated memory.
virtual void _FCMCALL FCM::IFCMCalloc::Free ( FCM::PVoid  pv)
pure virtual

Deallocates the memory pointed by the param pv.

Parameters
pv(IN) Pointer to memory to be deallocated.

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