33 lines
812 B
Modula-2
33 lines
812 B
Modula-2
|
; module-definition file for generic -- used by LINK.EXE
|
||
|
|
||
|
NAME telnet ; application's module name
|
||
|
|
||
|
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 SHARED
|
||
|
|
||
|
;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.
|
||
|
|
||
|
EXPORTS
|
||
|
MainWndProc @1 ; name of window processing function
|
||
|
Konnect @2 ; name of "Connect" processing function
|
||
|
DisplayLines @3
|
||
|
NBReceiveData @4
|
||
|
SVReceive @5
|
||
|
|
||
|
|
||
|
|