Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.6 KiB

  1. ; mdstring.inc -- MagicDrv strings definitions
  2. ;/*
  3. ; * Microsoft Confidential
  4. ; * Copyright (C) Microsoft Corporation 1992
  5. ; * All Rights Reserved.
  6. ; */
  7. ; History:
  8. ;
  9. ; 20-Jul-1992 chuckst initial version
  10. ; 10-Aug-1992 bens Changed strings
  11. ; 03-Sep-1992 chuckst changed to DBLSPACE
  12. ; 26-Jul-1993 bens Added DoubleGuard
  13. IFDEF OLD_NAMES
  14. dev_name_7 equ "DUBLDSK" ; last 7 chars of device name field
  15. ELSE ; !OLD_NAMES
  16. if 0
  17. ;;;WHY IS THIS CODE REMOVED? Because although it works fine for
  18. ;;;control panel, it also works fine for windows setup, which won't
  19. ;;;write the autoexec.bat and config.sys out on squish drives.
  20. ;;;Oh well.
  21. ;;;BUG BUGBUG warning we use the byte sequence S,Q,U,I,S,H,+ to
  22. ;;;make windows 31 control panel consider us ineligible for
  23. ;;;a permanent swap file
  24. dev_name_7 equ "SQUISH+" ; last 7 chars of device name field
  25. endif
  26. dev_name_7 equ "DBLSPAC"
  27. ENDIF ; OLD_NAMES
  28. magic_ini_file_name equ '\dblspace.ini'
  29. IFDEF OLD_NAMES
  30. CVF_NAME_BASE equ '\dubldisk'
  31. ELSE ; !OLD_NAMES
  32. CVF_NAME_BASE equ '\DBLSPACE'
  33. ENDIF ; OLD_NAMES
  34. KWD_ACT equ 'ACTIVATEDRIVE'
  35. KWD_FIRST equ 'FIRSTDRIVE'
  36. KWD_LAST equ 'LASTDRIVE'
  37. KWD_MAXREM equ 'MAXREMOVABLEDRIVES'
  38. KWD_MAXFILE equ 'MAXFILEFRAGMENTS'
  39. KWD_ENABLE equ 'ENABLE386'
  40. KWD_ROMSERVER equ 'ROMSERVER'
  41. KWD_CHECKSUM equ 'CHECKSUM' ; NOTE: Undocumented!
  42. KWD_DBLGUARD equ 'DOUBLEGUARD'
  43. KWD_SWITCHES equ 'SWITCHES'
  44. KWD_AUTOMOUNT equ 'AUTOMOUNT'
  45. NSWITCH_CHAR = 'N'
  46. FSWITCH_CHAR = 'F'
  47. OEM_LOWORD equ '2L'
  48. OEM_MIDWORD equ '6.'
  49. OEM_HIBYTE equ ' '
  50. IFDEF OLD_NAMES
  51. MD_SIG_LOWORD equ 'BD'
  52. MD_SIG_HIBYTE equ 'L'
  53. MD_STAMP equ "DD"
  54. OK_STAMP equ 'OK'
  55. ELSE ; !OLD_NAMES
  56. MD_SIG_LOWORD equ 044F8h ; Low CVF signature is F8,'D','R'
  57. MD_SIG_HIBYTE equ 'R'
  58. MD_STAMP equ "SD"
  59. OK_STAMP equ 'OK'
  60. ENDIF ; OLD_NAMES
  61. ; MD_EXT_STAMP is used in IOCTL & Int 2Fh calls to DblSpace driver -- it
  62. ; should not change even if MD_STAMP does. MD_EXT_STAMP is the value
  63. ; external software expects to see and use.
  64. MD_EXT_STAMP equ "DM"
  65. ; MD_MOUNT_CMD identifies activate records for use with the activate
  66. ; Int 2Fh API. MS-DOS 6 DBLSPACE.BIN used a MD_MOUNT_CMD value of 'M'.
  67. ; The MS-DOS 6.2 activate record is not compatible with MS-DOS 6 so
  68. ; the comand value has been changed to cleanly fail mount/activate
  69. ; attempts with the MS-DOS 6 structure.
  70. MD_MOUNT_CMD equ 'A'