| HANDLE | Type (Scalar)

alloc.h, cert.h, dialogs.h, estack.h, events.h, flash.h, menus.h, homescr.h, system.h, textedit.h, vat.h, wingraph.h, unknown.h

typedef unsigned short HANDLE;

Represents a handle associated with an allocated memory block.

The HANDLE type is mainly used to manage dynamically allocated memory using functions from alloc.h, but a lot of functions from other header files take instances of this type as parameters.
A handle points to a word-aligned block of memory, whose current address can be retrieved using HeapDeref.

See also: HeapAlloc, HeapFree, HLock, HeapUnlock, HeapDeref