Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6 KiB

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