home *** CD-ROM | disk | FTP | other *** search
- title LibInit.asm - Windows DynLink Library Initialization
-
- ;----------------------------------------------------------------------------
-
- extrn LibMain:far
-
- extrn __acrtused:ABS ;make sure C-runtime gets pulled in
-
- ;----------------------------------------------------------------------------
-
- LIBINIT_TEXT SEGMENT BYTE PUBLIC 'CODE'
- ASSUME CS:LIBINIT_TEXT
-
- ;----------------------------------------------------------------------------
- ; DLL entry point.
- ; This routine is called which is called when the first client loads
- ; the DLL.
- ;----------------------------------------------------------------------------
- PUBLIC astartLib
- astartLib PROC FAR
- push di ;hmodLib
- push ds ;segDS
- push cx ;usHeapSize
- call LibMain
- ret
- astartLib ENDP
-
- LIBINIT_TEXT ENDS
-
- ;----------------------------------------------------------------------------
-
- end astartLib
-