home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
11
/
labnotes
/
libmain.asm
< prev
next >
Wrap
Assembly Source File
|
1992-02-24
|
603b
|
31 lines
;LibMain.ASM
;Copyright (c) 1992 Jay Munro
;First published in PC Magazine June 16, 1992
.286P
.Model Medium
Extrn UnlockSegment:Proc
Public LibMain, WEP
Include LabNotes.Inc
.Code
;---- Optional LibMain -- used for initialization
LibMain Proc Far
Push -1 ;-1 specifies current data segment
Call UnLockSegment ;unlock data segment
Mov AX,1 ;just return true
Ret 6
LibMain EndP
;---- Windows Exit Procedure
Wep Proc Far ;Export
WinProlog
Mov AX,1
WinEpilog
Ret 2
Wep EndP
End