Back to Adaptive Vision Library website

You are here: Start » Function Reference » Debug Preview » DebugPreviewCloseWindow

DebugPreviewCloseWindow


Header: AVL.h
Namespace: avl
Module: FoundationLite

Closes a debug preview window.

Syntax

void avl::DebugPreviewCloseWindow
(
	DebugPreviewWindowState& ioWindow
)

Parameters

Name Type Default Description
ioWindow DebugPreviewWindowState& State object of window to be closed.

Description

This function will close the window bound to the specified state object (opened by DebugPreviewShowImage or DebugPreviewShowRegion) and free the resource occupied by the state object.

After call to this function, the state object will become invalid. Function invoked on an invalid state object ends with no results.