Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6AllocMemory ( P6SIZE  cSize,
P6VOID **  ppMemory 
)

Allocated a block of memory.

If a component allocated memory that a client must free, it MUST be allocated using this method and freed using p6FreeMemory(). The allocated memory is not initialzed.

Parameters
cSize[ in ] The size in bytes of the block of memory to allocate.
ppMemory[ out ] The address of a pointer which will receive the pointer to the allocated memory.
Returns