imgDisposeBuffer

NI IMAQ Function

imgDisposeBuffer

Usage

rval imgDisposeBuffer(void* buffPtrAddr);

Purpose

Disposes of a frame buffer created by imgCreateBuffer.

Parameters

Name Type Direction
bufPtrAddr void* input
rval Int32 output

Parameter Discussion

bufPtrAddr: pointer to buffer created by imgCreateBuffer.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.

Note  Before calling imgDisposeBuffer(), ensure that this buffer is not included in any active buffer lists.