These API routines allow you to return results to Visual FoxPro as a specified data type.
Sets the function return value to a null-terminated string.
Sets the library return value to a currency value.
Sets the function return value to a date. The date is specified in mm/dd/year format, where the year may be either two or four digits.
Sets the library return value to a datetime.
Sets the function return value to a float value.
Sets the function return value to a numeric value.
Sets the function return value to a logical value. Zero is considered False. Any non-zero value is considered True.
Passes a complete Visual FoxPro Value structure, so it can return any Visual FoxPro data type except for memo. You must call _RetVal( ) to return a string that contains embedded null characters.