imaqGetSystemWindowHandle

NI Vision for LabWindows/CVI Function

imaqGetSystemWindowHandle

Usage

void* imaqGetSystemWindowHandle(int windowNumber);

Purpose

Returns the Windows HWND for a given NI Vision image window.

Parameters

Name

Type

Description

windowNumber int The window number of the window whose HWND to retrieve.

Return Value

Type

Description

void* On success, this function returns the Windows HWND for the window. On failure, this function returns NULL. To get extended error information, call imaqGetLastError().