System.Variants.FinalizeDispatchInvokeArgs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FinalizeDispatchInvokeArgs(CallDesc: PCallDesc; const Args: TVarDataArray; OrderLTR : Boolean);

C++

extern DELPHI_PACKAGE void __fastcall FinalizeDispatchInvokeArgs(System::PCallDesc CallDesc, const TVarDataArray Args, bool OrderLTR);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Releases the Args parameters passed to the method identified by CallDesc dispatch call descriptor.

FinalizeDispatchInvokeArgs is provided for internal use in DispInvoke. Normally, the programmers do not need to call FinalizeDispatchInvokeArgs explicitly. FinalizeDispatchInvokeArgs is notably intended to manage string references handled by the TStringRefList type parameters.

CallDesc is a dispatch call descriptor. It identifies a method that was called using a Variant and describes the type and number of its arguments.

Args is an array of parameters passed to the invoked method. Args is a TVarDataArray array of TVarData records.

OrderLTR defines the direct True or reverse order of processing the specified Args array.

See Also