RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.TVarDispProc Type

TVarDispProc defines a pointer to a procedure used as support for IDispatch-based Automation.

Pascal
TVarDispProc = procedure (Dest: PVariant; const Source: Variant; CallDesc: PCallDesc; Params: Pointer);
C++
(Dest: PVariant; const Source: Variant; CallDesc: PCallDesc; Params: Pointer) ( TVarDispProc)();

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 System::Variant. TVarDispProc is used in the Variants unit to control how Variants execute methods when a value of the Variants is an interface. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!