guides:programming:programmers_reference_manual:parameter_type

Parameter Type

Each parameter for the function has a specified type. Parameter types are listed in the table which follows.

TypeDescription
VOIDNot supported.
CHARThe first character of the BASIC+ string is passed to the DLL.
BYTEA 1 byte signed integer is passed to the DLL.
UBYTEA 1 byte unsigned integer is passed to the DLL.
SHORTA 2 byte signed integer is passed to the DLL.
USHORTA 2 byte unsigned integer is passed to the DLL.
LONGA 4 byte signed integer is passed to the DLL.
ULONGNot supported.
FLOATA 4 byte floating point value is passed to the DLL.
DOUBLEAn 8 byte floating point value is passed to the DLL.
LPVOIDA 4 byte value is passed to the DLL. It is the responsibility of the programmer to ensure that this value is a valid far pointer.

Note: This value can be the value returned from a DLL function returning LPVOID, or the value returned from GetPointer().
LPCHARA far pointer is passed to the OpenInsight string.

Note: If the DLL is expecting a pointer to a null-terminated string, then concatenate Char(0) to the end of the string.
LPBYTEA far pointer to a 1 byte signed integer is passed to the DLL.
LPUBYTEA far pointer to a 1 byte unsigned integer is passed to the DLL.
LPSHORTA far pointer to a 2 byte signed integer is passed to the DLL.
LPUSHORTA far pointer to a 2 byte unsigned integer is passed to the DLL.
LPLONGA far pointer to a 4 byte signed integer is passed to the DLL.
LPULONGNot supported.
LPFLOATNot supported.
LPDOUBLEA far pointer to an 8 byte floating point value is passed to the DLL.
  • guides/programming/programmers_reference_manual/parameter_type.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1