home *** CD-ROM | disk | FTP | other *** search
- '
- ' DRSPCC - DriveSpeed Control Center for DriveSpeed version 3.10 (GPL FREEWARE)
- ' Copyleft (l) Stanislav Sokolov, May 2000 and onwards.
- '
- ' This program is subject to GNU General Public License ver. 2 of June 1991
- ' and any later version.
- '
- ' You may use this source with your programs, provided
- ' due credits are given.
- '
- ' Contact the author by e-mail: stanislavs@hotmail.com
- '
- ' Internet: http://members.tripod.com/~stanislavs/prog/prog.htm
- '
-
- DefInt A-Z
- Option Explicit
-
- 'Windows API declarations
- Declare Function WinExec Lib "Kernel" (ByVal lpCmdLine As String, ByVal nCmdShow As Integer) As Integer
- Declare Function GetModuleUsage Lib "Kernel" (ByVal hModule As Integer) As Integer
-
- Declare Function GetWindowsDirectory Lib "Kernel" (ByVal lpBuffer As String, ByVal nSize As Integer) As Integer
- Declare Function GetSystemDirectory Lib "Kernel" (ByVal lpBuffer As String, ByVal nSize As Integer) As Integer
-
- Declare Function SendMessage Lib "User" (ByVal hWnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, lParam As Any) As Long
- 'Message constants
- Global Const WM_USER = &H400
- Global Const EM_SETREADONLY = WM_USER + 31
- Global Const WM_CHAR = &H102
-
- Global Const RecLen = 8 + 2 * 4
- Type Parameters
- Size As Double '8
- Turns As Integer '2
- Batch As Integer '0 - Off, 1 - On '2
- RO As Integer '0 - Off, 1 - On '2
- Mode As Integer '1 - SP, 2 - MP '2
- End Type
-
- Global Const ProgName = "DriveSpeed Control Center"
-
- Global Const ResFile = "@DRSPRES.TMP"
- Global Const RunFile = "DRSP-RUN.PIF"
- Global Const SavFile = "DRSPCC.SAV"
-
- Global AppPath As String
-
-