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.

174 lines
7.0 KiB

  1. /*
  2. * Microsoft Confidential
  3. * Copyright (C) Microsoft Corporation 1992-1994
  4. * All Rights Reserved.
  5. */
  6. #define Abort 0x00
  7. #define Std_Con_Input 0x01
  8. #define Std_Con_Output 0x02
  9. #define Std_Aux_Input 0x03
  10. #define Std_Aux_Output 0x04
  11. #define Std_Printer_Output 0x05
  12. #define Raw_Con_IO 0x06
  13. #define Raw_Con_Input 0x07
  14. #define Std_Con_Input_No_Echo 0x08
  15. #define Std_Con_String_Output 0x09
  16. #define Std_Con_String_Input 0x0A
  17. #define Std_Con_Input_Status 0x0B
  18. #define Std_Con_Input_Flush 0x0C
  19. #define Disk_Reset 0x0D
  20. #define Set_Default_Drive 0x0E
  21. #define FCB_Open 0x0F
  22. #define FCB_Close 0x10
  23. #define Dir_Search_First 0x11
  24. #define Dir_Search_Next 0x12
  25. #define FCB_Delete 0x13
  26. #define FCB_Seq_Read 0x14
  27. #define FCB_Seq_Write 0x15
  28. #define FCB_Create 0x16
  29. #define FCB_Rename 0x17
  30. #define Get_Default_Drive 0x19
  31. #define Set_DMA 0x1A
  32. #define Get_Default_DPB 0x1F /* ;Internal */
  33. #define FCB_Random_Read 0x21
  34. #define FCB_Random_Write 0x22
  35. #define Get_FCB_File_Length 0x23
  36. #define Get_FCB_Position 0x24
  37. #define Set_Interrupt_Vector 0x25
  38. #define Create_Process_Data_Block 0x26
  39. #define FCB_Random_Read_Block 0x27
  40. #define FCB_Random_Write_Block 0x28
  41. #define Parse_File_Descriptor 0x29
  42. #define Get_Date 0x2A
  43. #define Set_Date 0x2B
  44. #define Get_Time 0x2C
  45. #define Set_Time 0x2D
  46. #define Set_Verify_On_Write 0x2E
  47. /*
  48. * Extended functionality group
  49. */
  50. #define Get_DMA 0x2F
  51. #define Get_Version 0x30
  52. #define Keep_Process 0x31
  53. #define Get_DPB 0x32 /* ;Internal */
  54. #define Set_CTRL_C_Trapping 0x33
  55. #define Get_InDOS_Flag 0x34
  56. #define Get_Interrupt_Vector 0x35
  57. #define Get_Drive_Freespace 0x36
  58. #define Char_Oper 0x37
  59. #define International 0x38
  60. /*
  61. * Directory Group
  62. */
  63. #define MKDir 0x39
  64. #define RMDir 0x3A
  65. #define CHDir 0x3B
  66. /*
  67. * File Group
  68. */
  69. #define Creat 0x3C
  70. #define Open 0x3D
  71. #define Close 0x3E
  72. #define Read 0x3F
  73. #define Write 0x40
  74. #define Unlink 0x41
  75. #define LSeek 0x42
  76. #define CHMod 0x43
  77. #define IOCtl 0x44
  78. #define XDup 0x45
  79. #define XDup2 0x46
  80. #define Current_Dir 0x47
  81. /*
  82. * Memory Group
  83. */
  84. #define Alloc 0x48
  85. #define Dealloc 0x49
  86. #define Setblock 0x4A
  87. /*
  88. * Process Group
  89. */
  90. #define Exec 0x4B
  91. #define Exit 0x4C
  92. #define WaitProcess 0x4D
  93. #define Find_First 0x4E
  94. /*
  95. * Special Group
  96. */
  97. #define Find_Next 0x4F
  98. /*
  99. * Special System Group
  100. */
  101. #define Set_Current_PDB 0x50 /* ;Internal */
  102. #define Get_Current_PDB 0x51 /* ;Internal */
  103. #define Get_In_Vars 0x52 /* ;Internal */
  104. #define SetDPB 0x53 /* ;Internal */
  105. #define Get_Verify_On_Write 0x54
  106. #define Dup_PDB 0x55 /* ;Internal */
  107. #define Rename 0x56
  108. #define File_Times 0x57
  109. #define File_Times_Get_Mod 0x00
  110. #define File_Times_Set_Mod 0x01
  111. #define File_Times_Get_EA 0x02 // For OS/2
  112. #define File_Times_Set_EA 0x03 // For OS/2
  113. #define File_Times_Get_Acc 0x04
  114. #define File_Times_Set_Acc 0x05
  115. #define AllocOper 0x58
  116. /*
  117. * Network extention system calls
  118. */
  119. #define GetExtendedError 0x59
  120. #define CreateTempFile 0x5A
  121. #define CreateNewFile 0x5B
  122. #define LockOper 0x5C // Lock and Unlock
  123. #define ServerCall 0x5D // CommitAll, ServerDOSCall, /* ;Internal */
  124. // CloseByName, CloseUser, /* ;Internal */
  125. // CloseUserProcess, /* ;Internal */
  126. // GetOpenFileList /* ;Internal */
  127. #define UserOper 0x5E // Get and Set
  128. #define AssignOper 0x5F // On, Off, Get, Set, Cancel
  129. #define xNameTrans 0x60
  130. #define PathParse 0x61
  131. #define GetCurrentPSP 0x62
  132. #define Hongeul 0x63
  133. #define ECS_CALL 0x63 // DBCS support
  134. #define Set_Printer_Flag 0x64 /* ;Internal */
  135. #define GetExtCntry 0x65
  136. #define GetSetCdPg 0x66
  137. #define ExtHandle 0x67
  138. #define Commit 0x68
  139. #define GetSetMediaID 0x69
  140. #define IFS_IOCTL 0x6B
  141. #define ExtOpen 0x6C
  142. #define ROM_FIND_FIRST 0x6D /* ;Internal */
  143. #define ROM_FIND_NEXT 0x6E /* ;Internal */
  144. #define ROM_EXCLUDE 0x6F /* ;Internal */
  145. #define GetSetNLS 0x70
  146. #define LN_Generic 0x71
  147. #define LN_FindClose 0x72
  148. #define Get_Set_DriveInfo 0x73
  149. #define Get_DriveInfo 0x00
  150. #define Set_DriveInfo 0x01
  151. #define DriveInfo_AccDate 0x00
  152. #define DriveInfo_Commit 0x01
  153. #define AccDate_Disable 0x00
  154. #define AccDate_Enable 0x02
  155. #define Commit_Enable 0x00
  156. #define Commit_Disable 0x08
  157. #define Set_Oem_Handler 0xF8
  158. #define OEM_C1 0xF9
  159. #define OEM_C2 0xFA
  160. #define OEM_C3 0xFB
  161. #define OEM_C4 0xFC
  162. #define OEM_C5 0xFD
  163. #define OEM_C6 0xFE
  164. #define OEM_C7 0xFF