GETUNITQQ (W*32, W*64)

QuickWin Function: Returns the unit number corresponding to the specified Windows* handle.

Module

USE IFQWIN

Syntax

result = GETUNITQQ (whandle)

whandle

(Input) INTEGER(4) on IA-32 architecture; INTEGER(8) on Intel® 64 architecture and IA-64 architecture. The Windows handle to the window; this is a unique ID.

Results

The result type is INTEGER(4). The result is the unit number corresponding to the specified Windows handle. If whandle does not exist, it returns -1 .

This routine is the inverse of GETHWNDQQ.

Compatibility

QUICKWIN GRAPHICS LIB

See Also