imaqIsWindowNonTearing

NI Vision for LabWindows/CVI Function

imaqIsWindowNonTearing

Usage

int imaqIsWindowNonTearing(int windowNumber, int* nonTearing);

Purpose

Gets the current non-tearing status of the display window. For more information on non-tearing, refer to imaqSetWindowNonTearing().

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
nonTearing int* On return, this parameter is TRUE if the given window is non-tearing and FALSE if the window is operating normally. This parameter is required and cannot be NULL.

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().