Memory allocation macro used by IXAPO methods that must allocate arbitrary sized structures that are subsequently returned to the application.
#define XAPOAlloc(size) CoTaskMemAlloc(size)
size
Type:
Size, in bytes, of the memory block to be allocated.
XAPOFree and XAPOAlloc are memory allocation macros that allow one module to allocate memory and another to free it, by guaranteeing that the same heap manager is used regardless of differences between the build environments of the two modules.
XAPOFree and XAPOAlloc resolve to CoTaskMemAlloc and CoTaskMemFree.
Header: Declared in xapo.h.
Library: Use xapobase.lib.