imaqCloseWindow

NI Vision for LabWindows/CVI Function

imaqCloseWindow

Usage

int imaqCloseWindow(int windowNumber);

Purpose

Closes an image window and frees all associated resources.

Parameters

Name

Type

Description

windowNumber int The window number of the image window to close. Set this parameter to IMAQ_ALL_WINDOWS to close all of the image windows.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().