
In the Microsoft Windows programming environment, all pointers are far pointers. The C-language declarations are based on the assumption that your compiler defaults to 8-byte doubles, 2-byte short integers, and 4-byte long integers. Null-terminated string (maximum string length = 255 characters) Null-terminated string (maximum string length = 255)īyte-counted string (first byte contains length of string, maximum string length = 255 characters) The following table contains a complete list of the data type codes that Microsoft Excel recognizes, a description of each data type, how the argument or return value is passed, and a typical declaration for the data type in the C programming language. For example, a DLL function that returns a floating-point number and takes an integer and a floating-point number as arguments would require "BIB" for the type_text argument. The remaining characters indicate the data types of all the arguments. The first character of type_text specifies the data type of the return value.
CALL REGISTER CODE
In the CALL, REGISTER, and REGISTER.ID functions, the type_text argument specifies the data type of the return value and the data types of all arguments to the DLL function or code resource. Arguments and return values differ slightly depending on your operating environment, and these differences are noted in the data type table.

The following describes the argument and return value data types used by the CALL, REGISTER, and REGISTER.ID functions. Modifying in Place - Functions Declared as Void R Data Type - Calling Microsoft Excel Functions from DLLs

Note: The CALL and REGISTER functions are not available in Excel for the web.
