Table of Contents

TTMSFNCClipBoard.AllocateCustomValue Method

Allocates a Windows clipboard memory block for a custom format value.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Syntax

class function AllocateCustomValue(AFormat: Cardinal; AValue: TValue): THandle; virtual;

Parameters

Name Description
AFormat The Windows clipboard format identifier returned by RegisterClipboardFormat.
AValue The value to serialize into the allocated clipboard block.

Returns

A global memory handle to the allocated clipboard data block, or 0 on failure.