imaqGetWindowPos

NI Vision for LabWindows/CVI Function

imaqGetWindowPos

Usage

int imaqGetWindowPos(int windowNumber, Point* position);

Purpose

Retrieves the current location of the given image window.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
position Point* On return, the position of the upper left corner of the given image window. 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().