;##############################################################################
;# usbshold.def -- Module Definition generated from Bldvars.mif               #
;# -------------------------------------------------------------------------- #
;# This is the Module Definition file for the USBSHOLD.DLL target.            #
;# It declares the entrypoints called by eCenter.                             #
;# Note that this module is loaded, and these entrypoints called, even when   #
;# the Widget is not active in the eCenter. Adding and removing the Widget    #
;# causes Widget Window creation and destruction, not DLL loading / unloading.#
;##############################################################################

LIBRARY usbshold INITGLOBAL TERMGLOBAL
Description 'NeoWPS * USB Widget [testbuild-20161008]'
PROTMODE

DATA    MULTIPLE READWRITE LOADONCALL NONSHARED
;       Doesn't really matter, because the widget is only ever used
;       in the WPS process; we use MULTIPLE NONSHARED here to reduce
;       the amount of shared memory that is needed for the DLL.

CODE    LOADONCALL

EXPORTS
; ALIAS             =   REALNAME                ORDINAL
; -----                 --------                -------

; These three are are invoked by the eCenter.
; They actually forward to the functions that do the actual work, so to
; activate a different code-path, the forwarding can be changed.

                        UsbWgtInitModule        @1
                        UsbWgtUnInitModule      @2
                        UsbWgtQueryVersion      @3

; This is some testing with aliases
;                        DummyExport             @20
;Alias_01            =   WgtInitModule           @1000
;Alias_02            =   WgtUnInitModule         @2000
;Alias_03            =   WgtQueryVersion         @65533
