XAPOAlloc macro (xapo.h)
Memory allocation macro used by IXAPO methods that must allocate arbitrary sized structures that are subsequently returned to the application.
void XAPOAlloc(
size
);
size
Size, in bytes, of the memory block to be allocated.
None
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.
Xbox 360 |
---|
XAPOFree and XAPOAlloc resolve to XMemAlloc and XMemFree on Xbox 360. |
Windows |
---|
XAPOFree and XAPOAlloc resolve to CoTaskMemAlloc and CoTaskMemFree. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xapo.h |