# GETHWNDQQ (W*S)

QuickWin Function: Converts a window unit number into a Windows* handle.

## Module

USE IFQWIN

result = GETHWNDQQ (unit)

unit | (Input) INTEGER(4). The window unit number. If unit is set to QWIN$FRAMEWINDOW (defined in `IFQWIN.F90`), the handle of the frame window is returned.

## Results

The result type is INTEGER(4) on IA-32 architecture; INTEGER(8) on Intel® 64 architecture. The result is a true Windows handle to the window. If unit is not open, it returns -1 .

Parent topic: QuickWin Library Routines

## See Also

GETACTIVEQQ
GETUNITQQ
SETACTIVEQQ