The methods listed below are declared in Pascal/Delphi but they are OLE and COM conform.
The type Widestring is compatible to the COM-Type BSTR and represents a dynamically assigned number of 16-BIT Unicode Chars. It's size is up to 2GB.
Wordbool is a 2 byte variable which is true then it has a non-zero value.
Integer is compatible to the COM-Type long and represents a signed 32Bit type.