Parameter Type
Each parameter for the function has a specified type. Parameter types are listed in the table which follows.
Type | Description |
---|---|
VOID | Not supported. |
CHAR | The first character of the BASIC+ string is passed to the DLL. |
BYTE | A 1 byte signed integer is passed to the DLL. |
UBYTE | A 1 byte unsigned integer is passed to the DLL. |
SHORT | A 2 byte signed integer is passed to the DLL. |
USHORT | A 2 byte unsigned integer is passed to the DLL. |
LONG | A 4 byte signed integer is passed to the DLL. |
ULONG | Not supported. |
FLOAT | A 4 byte floating point value is passed to the DLL. |
DOUBLE | An 8 byte floating point value is passed to the DLL. |
LPVOID | A 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(). |
LPCHAR | A 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. |
LPBYTE | A far pointer to a 1 byte signed integer is passed to the DLL. |
LPUBYTE | A far pointer to a 1 byte unsigned integer is passed to the DLL. |
LPSHORT | A far pointer to a 2 byte signed integer is passed to the DLL. |
LPUSHORT | A far pointer to a 2 byte unsigned integer is passed to the DLL. |
LPLONG | A far pointer to a 4 byte signed integer is passed to the DLL. |
LPULONG | Not supported. |
LPFLOAT | Not supported. |
LPDOUBLE | A far pointer to an 8 byte floating point value is passed to the DLL. |