Use the Prototypes tab to automatically build a parameter list for the external function by parsing the source code of the function.
Note: | If you have access to source code, you will probably find it easier to build a parameter list using the Prototypes tab than using the Record tab. |
Specify information in these fields only if you do not specify information in the fields on the Record tab.
If the external function does not require any parameters, you can leave the fields on this tab and the fields on the Record tab blank.
Fields
If you do not remember the file name, select Find to see a list of files from which you can choose. If you want to view the contents of the file, select View.
When you have specified the file you want to use, select Parse.
The names of the available functions appear in the list.
The parameters specified in the source code for the selected function appear as attributes on the external function part's public interface, allowing other parts to set or retrieve their values. For a C function, the function's return value also appears as an attribute.
To specify that the parameter list of the external function needs to be based on one of the functions in the source file, select the correct function name in the list.