RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.TCallDesc Record

TCallDesc is the dispatch call descriptor for variants, and PCallDesc is a pointer to this descriptior.

Pascal
TCallDesc = packed record
  CallType: Byte;
  ArgCount: Byte;
  NamedArgCount: Byte;
  ArgTypes: array[0..255] of Byte;
end;
C++
struct TCallDesc {
  Byte CallType;
  Byte ArgCount;
  Byte NamedArgCount;
  array[0..255] of Byte ArgTypes;
};

TCallDesc identifies a method call that was made using a Variant.  

CallType identifies the method that was called. 

ArgCount indicates the total number of arguments passed to the method. 

NamedArgCount 

ArgTypes is an array giving the type codes for each argument. 

 

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