System.TCallDesc.ArgTypes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

ArgTypes: array[0..255] of Byte;

C++

System::StaticArray<Byte, 256> ArgTypes;

Properties

Type Visibility Source Unit Parent
field public
System.pas
System.hpp
System TCallDesc

Description

Types of the call arguments.

The table below lists all possible values.

Constant Type

varEmpty

Undefined.

varNull

Null.

varSmallint

2-byte signed integer.

varInteger

4-byte signed integer.

varSingle

4-byte IEEE floating-point number.

varDouble

8-byte IEEE floating-point number.

varCurrency

Currency.

varDate

Date.

varOleStr

OLE string.

varDispatch

Pointer to an object that implements the IDispatch interface.

varError

HResult.

varBoolean

Boolean.

varVariant

Variant.

Note: You must always use the varByRef bit flag with this type.

varUnknown

Pointer to an object that implements the IUnknown interface.

varShortInt

1-byte integer.

varByte

1-byte unsigned integer.

varWord

2-byte unsigned integer.

varLongWord

4-byte unsigned integer.

varInt64

8-byte signed integer.

varUInt64

8-byte unsigned integer.

varRecord

BRECORD.

varStrArg

String.

varObject

Object.

varUStrArg

Unicode string.

You can apply any of the following bit flags to these constants:

  • varByRef specifies that the argument is passed by reference and not by value.
  • varArray specified that the argument is an array of items of the specified type.