Share via


Module-Definition (.DEF) Files

OverviewFAQDetails

A module-definition (.DEF) file is a text file that contains statements for defining an .EXE file or DLL.

Because LINK provides equivalent command-line options for most module-definition statements, a typical program for Win32 does not usually require a .DEF file. The descriptions of the module-definition statements give the command-line equivalent for each statement.

See the following sections for more information: