System.THandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type THandle = Cardinal;

Properties

Type Visibility Source Unit Parent
type public System.pas System System

Description

THandle is a general purpose data reference (handle).

For example, the SaveToClipboardFormat uses a THandle variable to hold a handle to the data of a bitmap. SetAsHandle can then be used to store the bitmap data, through its handle, to the clipboard.

Handles are used extensively in communication with Windows APIs.

See Also