System.Variants.TVarDispProc
Delphi
TVarDispProc = procedure (Dest: PVariant; const Source: Variant;
CallDesc: PCallDesc; Params: Pointer); cdecl;
C++
typedef void __cdecl (*TVarDispProc)(System::PVariant Dest, const System::Variant &Source, System::PCallDesc CallDesc, void * Params);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
TVarDispProc defines a pointer to a procedure used as support for IDispatch-based Automation.
In Delphi, TVarDispProc is a pointer to a routine that is called to execute methods (or access properties) of an interface that is assigned to a Variant. TVarDispProc is used in the Variants unit to control how Variants execute methods when a value of the Variants is an interface.