OfxMemorySuiteV1::memoryAlloc
— Allocate memory.
#include "ofxMemory.h"
OfxStatus(*memoryAlloc)( | void *handle, |
size_tnBytes, | |
void **allocatedData) ; |
This function has the host allocate memory using its own memory resources and returns that to the plugin.
kOfxStatOK
the memory was sucessfully allocatedkOfxStatErrMemory
the request could not be met and no memory was allocated