home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol11n11.zip
/
LABNOT.ZIP
/
VBAPI.ASM
< prev
next >
Wrap
Assembly Source File
|
1992-02-24
|
1KB
|
42 lines
;VBAPI.ASM
;Copyright (c) 1992 Jay Munro
;First Published in PC Magazine June 16, 1992
;----------------------------------------------------------------------------
; VBAPI contains routines that resolve the Externs for Visual Basic's
; internal API calls that are used in LabNotes.DLL.
; The Visual Basic API is organized as a table of vectors that are loaded
; into BX and then the program jumps to a location specified by SS:[0020h].
; VBAPI Routines may not be called directly by Visual Basic itself.
;----------------------------------------------------------------------------
.286P
.Model Medium
Public VBGetControlHwnd
Public VBCreateHlStr
Public VBGetHlStrLen
Public VBDeRefHlStr
.Code
VBGetControlHwnd Proc Far
Mov BX, 02Ch
Jmp DWord Ptr SS:[0020h]
VBGetControlHwnd EndP
VBCreateHLStr Proc Far
Mov BX, 050h
Jmp DWord Ptr SS:[0020h]
VBCreateHLStr EndP
VBGetHlStrLen Proc Far
Mov BX, 060h
Jmp DWord Ptr SS:[0020h]
VBGetHlStrLen EndP
VBDeRefHlStr Proc Far
Mov BX, 05Ch
Jmp DWord Ptr SS:[0020h]
VBDeRefHlStr EndP
End