;module-definition file for Windows Unzip-- used by link.exe

NAME    WizUnzip       ; application's module name

DESCRIPTION 'Windows Unzip by Samuel Smith, Info-ZIP, Robert Heath 1991'

EXETYPE      WINDOWS

STUB    'WINSTUB.EXE' ; Generates error message if application
                      ; is run without Windows

SEGMENTS
        wizu_about              LOADONCALL MOVEABLE DISCARDABLE
        wizu_action             LOADONCALL MOVEABLE DISCARDABLE
        wizu_explode    LOADONCALL MOVEABLE DISCARDABLE
        wizu_extract    LOADONCALL MOVEABLE DISCARDABLE
        wizu_file_io    LOADONCALL MOVEABLE DISCARDABLE
        wizu_inflate    LOADONCALL MOVEABLE DISCARDABLE
        wizu_kbdproc    LOADONCALL MOVEABLE 
        wizu_mapname    LOADONCALL MOVEABLE DISCARDABLE
        wizu_match              LOADONCALL MOVEABLE DISCARDABLE
        wizu_misc               LOADONCALL MOVEABLE DISCARDABLE
        wizu_rename             LOADONCALL MOVEABLE DISCARDABLE
        wizu_replace    LOADONCALL MOVEABLE DISCARDABLE
        wizu_seldir             LOADONCALL MOVEABLE DISCARDABLE
        wizu_sizewndw   LOADONCALL MOVEABLE DISCARDABLE
        wizu_status             LOADONCALL MOVEABLE DISCARDABLE
        wizu_unimplod   LOADONCALL MOVEABLE DISCARDABLE
        wizu_unreduce   LOADONCALL MOVEABLE DISCARDABLE
        wizu_unshrink   LOADONCALL MOVEABLE DISCARDABLE
        wizu_unzip              LOADONCALL MOVEABLE DISCARDABLE
        wizu_updatelb   LOADONCALL MOVEABLE DISCARDABLE
        wizu_winit              LOADONCALL MOVEABLE DISCARDABLE
        wizu_wizunzip   PRELOAD MOVEABLE 
        wizu_wndproc    LOADONCALL MOVEABLE 

;CODE can be moved in memory and discarded/reloaded
CODE  MOVEABLE 

;DATA must be MULTIPLE if program can be invoked more than once
DATA  MOVEABLE MULTIPLE

HEAPSIZE  14000 ; need heap for buffers
STACKSIZE 6000 ; need plenty of stack
; WizUnzip walks a fine line between keeping heap+stack
; and automatics under <64K and not. Change HEAPSIZE and STACKSIZE
; only if you have the time to experiment.


; All functions that will be called by any Windows routine
; MUST be exported.

EXPORTS
    WizUnzipWndProc     @1      ; name of window processing function
    AboutProc           @2      ; name of "About" processing function
    StatusProc          @4      ; name of Status Window function
    ReplaceProc         @5      ; name of "Replace" processing function
    KbdProc                     @6      ; keyboard tab control proc
    SelectDirProc       @7      ; Change Directory proc
    RenameProc          @8      ; Rename File proc
