This function deallocates an image buffer allocated by DiveAllocImageBuffer.
#include <dive.h> HDIVE hDiveInst; /* Display engine DIVE instance. */ ULONG ulBufferNumber; /* Buffer number to free. */ ULONG rc; /* Return codes. */ rc = DiveFreeImageBuffer(hDiveInst, ulBufferNumber);