SIZEOF_CLIPBOARD_TEXT@

Platform

Win32, x64

Purpose

To get the size of the text held in the clipboard.

Syntax

INTEGER FUNCTION SIZEOF_CLIPBOARD_TEXT@()

Description

This routine returns the length of the Windows clipboard text array (CF_TEXT or CF_OEMTEXT format). The returned length includes a null (CHAR(0)) character that terminates the string.

Return value

Returns the length of the string or zero on failure. On 64-bit systems clipboard sizes of more than 2GB can be determined with SIZEOF_CLIPBOARD_TEXT64@.

See also

COPY_TO_CLIPBOARD@,
COPY_TO_CLIPBOARD64@,
COPY_FROM_CLIPBOARD@,
COPY_FROM_CLIPBOARD64@,
CLIPBOARD_TO_SCREEN_BLOCK@,
GRAPHICS_TO_CLIPBOARD@,
SIZEOF_CLIPBOARD_TEXT64@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited