1;
2; CL.DEF - Default .def file for C Windows applications
3;
4; Copyright (C) Microsoft Corp 1991.  All rights reserved.
5;
6
7NAME           WINDOWAPI
8
9;
10; The NAME statement tells the linker that a Windows application is being
11; built. The linker supplies the actual name of the application from the
12; base name of the executable file.
13;
14
15EXETYPE        WINDOWS 3.0
16
17;
18; The EXETYPE statement tells the linker to build a Windows 3.0 executable
19; file.  This statement should be used in all applications built with
20; C 7.0 for Windows 3.0.
21;
22
23PROTMODE
24
25;
26; The PROTMODE statement tells the linker to mark the application for execution
27; in Windows standard or enhanced mode.
28;
29
30CODE           PRELOAD MOVEABLE DISCARDABLE
31DATA           PRELOAD MOVEABLE
32
33;
34; The CODE and DATA statements set the attributes of the applications CODE and
35; DATA segments.
36;
37
38HEAPSIZE       1024
39STACKSIZE      8096
40
41;
42; The HEAPSIZE and STACKSIZE statements set the applications near heap and
43; stack sizes.  The values specified are recomended for QuickWin applications.
44;
45
46;
47; Uncomment these lines for DLL module definition file model.
48;
49;EXPORTS
50; WEP @1 RESIDENTNAME
51;
52;SEGMENTS 'WEP_TEXT' FIXED PRELOAD
53;
54;
55; The above section should be uncommented if this .DEF file is to be used as
56; a model for a C 7.0 dynamic-link library (DLL) .DEF file.  The WEP
57; routine is included in the C 7.0 startup code, but the symbol must
58; be explicitly exported. If a DLL already has a user-defined WEP routine,
59; the routine should be renamed _WEP.  The startup code will call _WEP,
60; if present, during DLL termination. For additional information concerning
61; the WEP function, see the C 7.0 and Windows 3.0 SDK documentation.
62;
63