EXPORTS

Syntax:

EXPORTS

This statement makes one or more definitions available as exports to other programs.

EXPORTS marks the beginning of a list of export definitions. Each definition must be on a separate line. The EXPORTS keyword can be on the same line as the first definition or on a preceding line. The .DEF file can contain one or more EXPORTS statements.

The syntax for an export definition is:

entryname[=internalname] [@ordinal [ NONAME]] [DATA]

For information on the entryname, internalname, ordinal, NONAME, and DATA arguments, see the /EXPORT option.

There are three methods for exporting a definition, listed in recommended order of use:

All three methods can be used in the same program. When LINK builds a program that contains exports, it also creates an import library, unless the build uses an .EXP file.