Allocates a buffer and provides additional context information.
Parameters:
bufferSize The size of the buffer that has to be allocated.
pCreatedBuffer Return the pointer to the allocated buffer. May return NULL if the allocation fails.
bufferContext Context information that belongs to the buffer. This context information is provided when FreeBuffer() is called. The value can be left unchanged if not needed.
Thread Safety:
This method can be run by different threads. It is called from threads that call Pylon::CInstantCamera::StartGrabbing() and it can be called by the internal grab engine thread.