; per251.def : Declares the module parameters for the application.

LIBRARY      PER251
DESCRIPTION  'Peripheral window classes'
EXETYPE      WINDOWS      

CODE         LOADONCALL MOVEABLE DISCARDABLE
DATA         PRELOAD MOVEABLE SINGLE

SEGMENTS         
    _TEXT       PRELOAD MOVEABLE DISCARDABLE
    WEP_TEXT    PRELOAD MOVEABLE DISCARDABLE

HEAPSIZE     1024   ; initial heap size
; Stack size is passed as argument to linker's /STACK option

EXPORTS
    ; required WEP entry point (uses library WEP)
    WEP @1 RESIDENTNAME PRIVATE

    ; Explicitly exported initialization routine
    InitDLL_PeripheralWindow        @2 NONAME
    PerRegisterWindow               @3 NONAME

    ; other explicit exports can go here
    PerInitPeripheralEnv            @100 NONAME
    PerFreePeripheralEnv            @101 NONAME
    PerReadProfile                  @102 NONAME
    PerWriteProfile                 @103 NONAME
    PerFilterMessage                @104 NONAME
    PerGetPeripheralWindow          @105 NONAME
    PerIsPeripheralWindowOpened     @106 NONAME
    PerOpenPeripheralWindow         @107 NONAME
    PerClosePeripheralWindow        @108 NONAME
    PerUpdatePeripheralWindow       @109 NONAME
    PerDisplayErrorMessage          @110 NONAME

    ; Explicitly exported classes

IMPORTS
; peripheral window special
    ep251.GetCpuId
    ep251.GetRegValue

; Repaint windows
    ep251.RepaintWindows
    ep251.RepaintCPU
    ep251.RepaintStack
    ep251.RepaintVariable
