Source code of Windows XP (NT5)
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.

62 lines
1.8 KiB

  1. ; PAGE 60,132
  2. ; SCCSID = @(#)smifssym.inc 1.0 87/05/11
  3. ;
  4. ; Modification history:
  5. ; Created: May 11 1987
  6. ;
  7. ; SMifssym is only for IBMBIO. It will only has definitions
  8. ; for IFSHEADER, IFSRH of INIT function.
  9. ; When ifssym.inc is Revised, make sure that SMifssym.inc
  10. ; is also correct. - JK.
  11. ;
  12. ;==================
  13. ;IFS drive header
  14. ;=================
  15. IFSDEVICE EQU 8000H ; Supports single device/file functions
  16. IFSDISK EQU 4000H ; Supports multi-file functions
  17. IFSUNC EQU 2000H ; Support UNC (nameless) connection
  18. IFSREMOTE EQU 0800H ; File system is remote
  19. IFSFILTER EQU 0400H ; FS will filter (if off, use DOS
  20. ; standard, cap & 8.3)
  21. IFSIOCTL EQU 0002H ; Supports IOCTL functions
  22. IFSUSESHARE EQU 0001H ; Uses DOS share support (vs own share)
  23. IFSHEADER STRUC
  24. IFS_NEXT DD -1 ; Next header in list (-1=end)
  25. IFS_NAME DB " " ; IFS name
  26. IFS_ATTRIBUTE DW ? ; Attributes
  27. IFS_VERSION DW 0 ; Request level supported
  28. IFS_DOSCALL@ DD ? ; DOS interface routine
  29. ; (set by TUPPER before the init call)
  30. IFS_CALL@ DW ? ; Function entry point
  31. IFSHEADER ENDS
  32. ;=====================
  33. ; IFS Request Header
  34. ;=====================
  35. IFSRH STRUC
  36. IFSR_LENGTH DW ? ; Total length of request
  37. IFSR_FUNCTION DB ? ; Requested function
  38. IFSR_RETCODE DB ? ; Explicit error
  39. IFSR_RETCLASS DB ? ; Error class
  40. IFSR_RESV1 DB 17 DUP(0) ; DOS reserved
  41. IFSR_FCN_PARMS DB 38 DUP(0) ; Additional parameters
  42. IFSRH ENDS
  43. ; IFSR_FUNCTION codes
  44. ; Control requests:
  45. IFSINIT EQU 1
  46. IFSATTSTART EQU 2
  47. IFSATTEND EQU 3
  48. IFSEXECAPI EQU 4
  49. IFSCRITMSG EQU 5
  50. IFSCBUPDATE EQU 6
  51. ; INIT function.
  52. IFSR_PARMS@ = DWORD PTR IFSR_FCN_PARMS ; command parameters
  53. IFSR_RESSIZE = WORD PTR IFSR_FCN_PARMS+4 ; driver total size
  54. LENGTH_INIT EQU IFSR_RESSIZE-IFSRH+2