--- mstools/samples/generic/generic.def 2018/08/09 18:21:30 1.1.1.2 +++ mstools/samples/generic/generic.def 2018/08/09 18:23:31 1.1.1.3 @@ -1,13 +1,10 @@ -; module-definition file for generic -- used by LINK.EXE - -NAME Generic ; application's module name - +; Module-Definition file for GENERIC -- used by LINK.EXE +; ========================================================================== +NAME Generic ; application's module name DESCRIPTION 'Sample Microsoft Windows Application' - -EXETYPE WINDOWS ; required for all Windows applications - -STUB 'WINSTUB.EXE' ; Generates error message if application - ; is run without Windows +EXETYPE WINDOWS ; required for all Windows applications +STUB 'WINSTUB.EXE' ; Generates error message if application + ; is run without Windows ;CODE can be moved in memory and discarded/reloaded CODE PRELOAD MOVEABLE DISCARDABLE @@ -15,26 +12,11 @@ CODE PRELOAD MOVEABLE DISCARDABLE ;DATA must be MULTIPLE if program can be invoked more than once DATA PRELOAD MOVEABLE MULTIPLE - HEAPSIZE 1024 -STACKSIZE 5120 ; recommended minimum for Windows applications - - -; All functions that will be called by any Windows routine -; MUST be exported. +STACKSIZE 5120 ; recommended minimum for Windows applications +; Export all callback and externally available functions EXPORTS - WndProc @1 ; name of window processing function - About @2 ; name of "About" processing function + WndProc @1 ; name of window processing function + About @2 ; name of "About" processing function -;NAME MinWin -;DESCRIPTION 'Minimum Windows Application - (c) 1991, Microsoft Corporation' -;EXETYPE WINDOWS -;STUB 'WINSTUB.EXE' -;CODE PRELOAD MOVEABLE DISCARDABLE -;DATA PRELOAD MOVEABLE MULTIPLE -;HEAPSIZE 1024 -;STACKSIZE 5120 -; -;EXPORTS -; WndProc