SRGraphDynamicData::SetBufferSize

void SRGraphDynamicData::SetBufferSize(UINT size)

Allocates or reallocates a buffer for the data

Defined in: SRGDat.cpp

Parameters

size

Size of allocation (in SRGDataBuffers)

Developer Notes

Reallocation of memory assigned by the new operator is not supported under MFC. Therefore when reallocation is required, a new memory block is allocated. The old memory block contents are copied, and the original data block is deleted. While it is possible to allocate memory without using the new operator, this becomes less portable and falls outside of the boundaries of MFC programming.

See also...

GetBufferSize