Module Definition File
Appearance
The module definition file (.DEF) contains the attributes that can be included in the executable file.
| Parameters | ||
|---|---|---|
| CODE | Assigns characteristics to code segments | load option
execute-option
privilege
|
| DATA | Assigns characteristics to data segments | |
| DESCRIPTION | Embeds text in executable file | |
| EXETYPE | Specifies host operating system | |
| EXPORTS | Names functions exported for dynamic linking by other programs | |
| HEAPSIZE | Specifies initial size of local heap (C programs only) | |
| IMPORTS | Names functions that will be dynamically linked at load time | |
| LIBRARY | Builds dynlink library or device driver | |
| NAME | Builds application program | |
| OLD | Specifies ordinal compatibility with previous version of dynlink library | |
| PROTMODE | Flags file as executable in protected mode only | |
| REALMODE | Allows file to be executed in real mode | |
| SEGMENTS | Assigns characteristics to selected segments | |
| STACKSIZE | Specifies size of stack used by primary thread | |
| STUB | Embeds MS-DOS-compatible program in new executable file |