From 4156a98ab6a7a8dba1c9ae303396a6e4584df3dd Mon Sep 17 00:00:00 2001 From: dsiders Date: Wed, 14 May 2025 12:12:29 -0400 Subject: [PATCH] Docs: LCL/lcltype. Updates topics for changes in 95c0189a. Issue #41631. * TLCLHandle * INVALID_HANDLE_VALUE --- docs/xml/lcl/lcltype.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/xml/lcl/lcltype.xml b/docs/xml/lcl/lcltype.xml index d579355def..4c3e540d96 100644 --- a/docs/xml/lcl/lcltype.xml +++ b/docs/xml/lcl/lcltype.xml @@ -267,10 +267,34 @@ instead. + + +Alias to the TLCLHandle type defined for widgetset references. + + +TLCLHandle + + + -Value representing an invalid (unassigned) Handle. + +Value used to represent an invalid (unassigned) Handle. + + +

+INVALID_HANDLE_VALUE is a constant used to represent a handle which +is either invalid or unassigned. INVALID_HANDLE_VALUE, like other handle +values, are represented as the type needed for a specific platform. For the +Windows platform, the INVALID_HANDLE_VALUE defined in the +windows.pp unit is used. For other platforms, DWORD(-1) is used. +

+

+For FPC compiler versions after 3.2.2, the INVALID_HANDLE_VALUE constant is +defined in the platform-specific sysutils.pp unit. +

+