home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / regist / register.inc < prev    next >
Encoding:
Text File  |  1995-03-06  |  914 b   |  20 lines

  1. Option Explicit
  2. ' definition for encrypt/decrypt
  3. Global Const ENCRYPT_LEVEL_0 = 0
  4. Global Const ENCRYPT_LEVEL_1 = 1
  5. Global Const ENCRYPT_LEVEL_2 = 2
  6. Global Const ENCRYPT_LEVEL_3 = 3
  7. Global Const ENCRYPT_LEVEL_4 = 4
  8.  
  9. ' definition for FILECRC32
  10. Global Const OPEN_MODE_BINARY = 0
  11. Global Const OPEN_MODE_TEXT = 1
  12.  
  13. Rem Don't Remove It
  14. Declare Function cDecrypt Lib "time2win.dll" (Txt As String, password As String, ByVal level As Integer) As String
  15. Declare Function cEncrypt Lib "time2win.dll" (Txt As String, password As String, ByVal level As Integer) As String
  16. Declare Function cFileCRC32 Lib "time2win.dll" (ByVal lpFilename As String, ByVal Mode As Integer) As Long
  17. Declare Function cGetINI Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String) As String
  18. Declare Function cToHexa Lib "time2win.dll" (Text As String) As String
  19.  
  20.