home *** CD-ROM | disk | FTP | other *** search
- ' Bindings for the MSDOS DLL
-
- Type Registers ' This record holds the
- AX As Integer ' registers for a DOS call.
- BX As Integer
- CX As Integer
- DX As Integer
- BP As Integer
- SI As Integer
- DI As Integer
- DS As Integer
- ES As Integer
- Flags As Integer
- End Type
-
- ' Function to call MS-DOS
- Declare Sub MsDos Lib "MSDOS.DLL" (Regs As Registers)
-
- ' Functions to get segments and offsets of variables
- Declare Function SegOf Lib "MSDOS.DLL" (V As Any) As Integer
- Declare Function OfsOf Lib "MSDOS.DLL" (V As Any) As Integer
-