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.

297 lines
18 KiB

  1. /*+
  2. Copyright (c) 1991-1993 Microsoft Corporation
  3. Module Name:
  4. xsdata.c
  5. Abstract:
  6. Global data declarations for XACTSRV.
  7. Author:
  8. David Treadwell (davidtr) 05-Jan-1991
  9. Shanku Niyogi (w-shanku)
  10. Revision History:
  11. Chuck Lenzmeier (chuckl) 17-Jun-1992
  12. Moved from xssvc to srvsvc\server
  13. --*/
  14. //
  15. // Includes.
  16. //
  17. #include "srvsvcp.h"
  18. #include "xsdata.h"
  19. #include <remdef.h> // from net\inc
  20. #include <xsconst.h> // from xactsrv
  21. #undef DEBUG
  22. #undef DEBUG_API_ERRORS
  23. #include <xsdebug.h>
  24. #if DBG
  25. DWORD XsDebug = 0;
  26. #endif
  27. VOID
  28. (*XsSetParameters)(
  29. IN LPTRANSACTION Transaction,
  30. IN LPXS_PARAMETER_HEADER Header,
  31. IN LPVOID Parameters
  32. ) = NULL;
  33. LPVOID
  34. (*XsCaptureParameters) (
  35. IN LPTRANSACTION Transaction,
  36. OUT LPDESC *AuxDescriptor
  37. ) = NULL;
  38. BOOL
  39. (*XsCheckSmbDescriptor)(
  40. IN LPDESC SmbDescriptor,
  41. IN LPDESC ActualDescriptor
  42. ) = NULL;
  43. //
  44. // Table of information necessary for dispatching API requests.
  45. //
  46. // ImpersonateClient specifies whether XACTSRV should impersonate the caller
  47. // before invoking the API handler.
  48. //
  49. // Handler specifies the function XACTSRV should call to handle the API.
  50. //
  51. XS_API_TABLE_ENTRY XsApiTable[XS_SIZE_OF_API_TABLE] = {
  52. TRUE, "XsNetShareEnum", NULL, REMSmb_NetShareEnum_P, // 0
  53. TRUE, "XsNetShareGetInfo", NULL, REMSmb_NetShareGetInfo_P,
  54. TRUE, "XsNetShareSetInfo", NULL, REMSmb_NetShareSetInfo_P,
  55. TRUE, "XsNetShareAdd", NULL, REMSmb_NetShareAdd_P,
  56. TRUE, "XsNetShareDel", NULL, REMSmb_NetShareDel_P,
  57. TRUE, "XsNetShareCheck", NULL, REMSmb_NetShareCheck_P,
  58. TRUE, "XsNetSessionEnum", NULL, REMSmb_NetSessionEnum_P,
  59. TRUE, "XsNetSessionGetInfo", NULL, REMSmb_NetSessionGetInfo_P,
  60. TRUE, "XsNetSessionDel", NULL, REMSmb_NetSessionDel_P,
  61. TRUE, "XsNetConnectionEnum", NULL, REMSmb_NetConnectionEnum_P,
  62. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 10
  63. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  64. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  65. TRUE, "XsNetServerGetInfo", NULL, REMSmb_NetServerGetInfo_P,
  66. TRUE, "XsNetServerSetInfo", NULL, REMSmb_NetServerSetInfo_P,
  67. TRUE, "XsNetServerDiskEnum", NULL, REMSmb_NetServerDiskEnum_P,
  68. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  69. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  70. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  71. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  72. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 20
  73. TRUE, "XsNetCharDevEnum", NULL, REMSmb_NetCharDevEnum_P,
  74. TRUE, "XsNetCharDevGetInfo", NULL, REMSmb_NetCharDevGetInfo_P,
  75. TRUE, "XsNetCharDevControl", NULL, REMSmb_NetCharDevControl_P,
  76. TRUE, "XsNetCharDevQEnum", NULL, REMSmb_NetCharDevQEnum_P,
  77. TRUE, "XsNetCharDevQGetInfo", NULL, REMSmb_NetCharDevQGetInfo_P,
  78. TRUE, "XsNetCharDevQSetInfo", NULL, REMSmb_NetCharDevQSetInfo_P,
  79. TRUE, "XsNetCharDevQPurge", NULL, REMSmb_NetCharDevQPurge_P,
  80. TRUE, "XsNetCharDevQPurgeSelf", NULL, REMSmb_NetCharDevQPurgeSelf_P,
  81. TRUE, "XsNetMessageNameEnum", NULL, REMSmb_NetMessageNameEnum_P,
  82. TRUE, "XsNetMessageNameGetInfo", NULL, REMSmb_NetMessageNameGetInfo_P, // 30
  83. TRUE, "XsNetMessageNameAdd", NULL, REMSmb_NetMessageNameAdd_P,
  84. TRUE, "XsNetMessageNameDel", NULL, REMSmb_NetMessageNameDel_P,
  85. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  86. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  87. TRUE, "XsNetMessageBufferSend", NULL, REMSmb_NetMessageBufferSend_P,
  88. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  89. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  90. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  91. TRUE, "XsNetServiceEnum", NULL, REMSmb_NetServiceEnum_P,
  92. TRUE, "XsNetServiceInstall", NULL, REMSmb_NetServiceInstall_P, // 40
  93. TRUE, "XsNetServiceControl", NULL, REMSmb_NetServiceControl_P,
  94. TRUE, "XsNetAccessEnum", NULL, REMSmb_NetAccessEnum_P,
  95. TRUE, "XsNetAccessGetInfo", NULL, REMSmb_NetAccessGetInfo_P,
  96. TRUE, "XsNetAccessSetInfo", NULL, REMSmb_NetAccessSetInfo_P,
  97. TRUE, "XsNetAccessAdd", NULL, REMSmb_NetAccessAdd_P,
  98. TRUE, "XsNetAccessDel", NULL, REMSmb_NetAccessDel_P,
  99. TRUE, "XsNetGroupEnum", NULL, REMSmb_NetGroupEnum_P,
  100. TRUE, "XsNetGroupAdd", NULL, REMSmb_NetGroupAdd_P,
  101. TRUE, "XsNetGroupDel", NULL, REMSmb_NetGroupDel_P,
  102. TRUE, "XsNetGroupAddUser", NULL, REMSmb_NetGroupAddUser_P, // 50
  103. TRUE, "XsNetGroupDelUser", NULL, REMSmb_NetGroupDelUser_P,
  104. TRUE, "XsNetGroupGetUsers", NULL, REMSmb_NetGroupGetUsers_P,
  105. TRUE, "XsNetUserEnum", NULL, REMSmb_NetUserEnum_P,
  106. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  107. TRUE, "XsNetUserDel", NULL, REMSmb_NetUserDel_P,
  108. TRUE, "XsNetUserGetInfo", NULL, REMSmb_NetUserGetInfo_P,
  109. TRUE, "XsNetUserSetInfo", NULL, REMSmb_NetUserSetInfo_P,
  110. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  111. TRUE, "XsNetUserGetGroups", NULL, REMSmb_NetUserGetGroups_P,
  112. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 60
  113. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  114. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  115. TRUE, "XsNetWkstaGetInfo", NULL, REMSmb_NetWkstaGetInfo_P,
  116. TRUE, "XsNetWkstaSetInfo", NULL, REMSmb_NetWkstaSetInfo_P,
  117. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  118. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  119. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  120. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  121. FALSE, "XsNetPrintQEnum", NULL, REMSmb_DosPrintQEnum_P,
  122. FALSE, "XsNetPrintQGetInfo", NULL, REMSmb_DosPrintQGetInfo_P, // 70
  123. TRUE, "XsNetPrintQSetInfo", NULL, REMSmb_DosPrintQSetInfo_P,
  124. TRUE, "XsNetPrintQAdd", NULL, REMSmb_DosPrintQAdd_P,
  125. TRUE, "XsNetPrintQDel", NULL, REMSmb_DosPrintQDel_P,
  126. TRUE, "XsNetPrintQPause", NULL, REMSmb_DosPrintQPause_P,
  127. TRUE, "XsNetPrintQContinue", NULL, REMSmb_DosPrintQContinue_P,
  128. FALSE, "XsNetPrintJobEnum", NULL, REMSmb_DosPrintJobEnum_P,
  129. FALSE, "XsNetPrintJobGetInfo", NULL, REMSmb_DosPrintJobGetInfo_P,
  130. TRUE, "XsNetPrintJobSetInfo", NULL, REMSmb_DosPrintJobSetInfo_P,
  131. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  132. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 80
  133. TRUE, "XsNetPrintJobDel", NULL, REMSmb_DosPrintJobDel_P,
  134. TRUE, "XsNetPrintJobPause", NULL, REMSmb_DosPrintJobPause_P,
  135. TRUE, "XsNetPrintJobContinue", NULL, REMSmb_DosPrintJobContinue_P,
  136. TRUE, "XsNetPrintDestEnum", NULL, REMSmb_DosPrintDestEnum_P,
  137. TRUE, "XsNetPrintDestGetInfo", NULL, REMSmb_DosPrintDestGetInfo_P,
  138. TRUE, "XsNetPrintDestControl", NULL, REMSmb_DosPrintDestControl_P,
  139. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  140. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  141. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  142. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 90
  143. TRUE, "XsNetRemoteTOD", NULL, REMSmb_NetRemoteTOD_P,
  144. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  145. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  146. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  147. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  148. TRUE, "XsNetServiceGetInfo", NULL, REMSmb_NetServiceGetInfo_P,
  149. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  150. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  151. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  152. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 100
  153. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  154. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  155. TRUE, "XsNetPrintQPurge", NULL, REMSmb_DosPrintQPurge_P,
  156. FALSE, "XsNetServerEnum2", NULL, REMSmb_NetServerEnum2_P,
  157. TRUE, "XsNetAccessGetUserPerms", NULL, REMSmb_NetAccessGetUserPerms_P,
  158. TRUE, "XsNetGroupGetInfo", NULL, REMSmb_NetGroupGetInfo_P,
  159. TRUE, "XsNetGroupSetInfo", NULL, REMSmb_NetGroupSetInfo_P,
  160. TRUE, "XsNetGroupSetUsers", NULL, REMSmb_NetGroupSetUsers_P,
  161. TRUE, "XsNetUserSetGroups", NULL, REMSmb_NetUserSetGroups_P,
  162. TRUE, "XsNetUserModalsGet", NULL, REMSmb_NetUserModalsGet_P, // 110
  163. TRUE, "XsNetUserModalsSet", NULL, REMSmb_NetUserModalsSet_P,
  164. TRUE, "XsNetFileEnum2", NULL, REMSmb_NetFileEnum2_P,
  165. TRUE, "XsNetUserAdd2", NULL, REMSmb_NetUserAdd2_P,
  166. TRUE, "XsNetUserSetInfo2", NULL, REMSmb_NetUserSetInfo2_P,
  167. TRUE, "XsNetUserPasswordSet2", NULL, REMSmb_NetUserPasswordSet2_P,
  168. FALSE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  169. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  170. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  171. TRUE, "XsNetGetDCName", NULL, REMSmb_NetGetDCName_P,
  172. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 120
  173. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  174. TRUE, "XsNetStatisticsGet2", NULL, REMSmb_NetStatisticsGet2_P,
  175. TRUE, "XsNetBuildGetInfo", NULL, REMSmb_NetBuildGetInfo_P,
  176. TRUE, "XsNetFileGetInfo2", NULL, REMSmb_NetFileGetInfo2_P,
  177. TRUE, "XsNetFileClose2", NULL, REMSmb_NetFileClose2_P,
  178. FALSE, "XsNetServerReqChallenge", NULL, REMSmb_NetServerReqChalleng_P,
  179. FALSE, "XsNetServerAuthenticate", NULL, REMSmb_NetServerAuthenticat_P,
  180. FALSE, "XsNetServerPasswordSet", NULL, REMSmb_NetServerPasswordSet_P,
  181. FALSE, "XsNetAccountDeltas", NULL, REMSmb_NetAccountDeltas_P,
  182. FALSE, "XsNetAccountSync", NULL, REMSmb_NetAccountSync_P, // 130
  183. TRUE, "XsNetUserEnum2", NULL, REMSmb_NetUserEnum2_P,
  184. TRUE, "XsNetWkstaUserLogon", NULL, REMSmb_NetWkstaUserLogon_P,
  185. TRUE, "XsNetWkstaUserLogoff", NULL, REMSmb_NetWkstaUserLogoff_P,
  186. TRUE, "XsNetLogonEnum", NULL, REMSmb_NetLogonEnum_P,
  187. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  188. TRUE, "XsI_NetPathType", NULL, REMSmb_I_NetPathType_P,
  189. TRUE, "XsI_NetPathCanonicalize", NULL, REMSmb_I_NetPathCanonicalize_P,
  190. TRUE, "XsI_NetPathCompare", NULL, REMSmb_I_NetPathCompare_P,
  191. TRUE, "XsI_NetNameValidate", NULL, REMSmb_I_NetNameValidate_P,
  192. TRUE, "XsI_NetNameCanonicalize", NULL, REMSmb_I_NetNameCanonicalize_P, //140
  193. TRUE, "XsI_NetNameCompare", NULL, REMSmb_I_NetNameCompare_P,
  194. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  195. TRUE, "XsNetPrintDestAdd", NULL, REMSmb_DosPrintDestAdd_P,
  196. TRUE, "XsNetPrintDestSetInfo", NULL, REMSmb_DosPrintDestSetInfo_P,
  197. TRUE, "XsNetPrintDestDel", NULL, REMSmb_DosPrintDestDel_P,
  198. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  199. TRUE, "XsNetPrintJobSetInfo", NULL, REMSmb_DosPrintJobSetInfo_P,
  200. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  201. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  202. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 150
  203. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  204. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  205. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  206. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  207. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  208. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  209. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  210. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  211. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  212. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 160
  213. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  214. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  215. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  216. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  217. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  218. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  219. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  220. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  221. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  222. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 170
  223. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  224. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  225. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  226. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  227. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  228. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  229. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  230. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  231. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  232. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 180
  233. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  234. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  235. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  236. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  237. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  238. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  239. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  240. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  241. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  242. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 190
  243. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  244. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  245. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  246. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  247. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  248. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  249. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  250. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  251. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  252. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 200
  253. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  254. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  255. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  256. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  257. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  258. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  259. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  260. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  261. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  262. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P, // 210
  263. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  264. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  265. TRUE, "XsNetUnsupportedApi", NULL, REMSmb_NetUnsupportedApi_P,
  266. TRUE, "XsSamOEMChangePasswordUser2_P", NULL, REM32_SamOEMChgPasswordUser2_P,
  267. FALSE, "XsNetServerEnum3", NULL, REMSmb_NetServerEnum3_P
  268. };
  269. // Spooler dynamic-load functions
  270. PSPOOLER_OPEN_PRINTER pSpoolerOpenPrinterFunction = NULL;
  271. PSPOOLER_RESET_PRINTER pSpoolerResetPrinterFunction = NULL;
  272. PSPOOLER_ADD_JOB pSpoolerAddJobFunction = NULL;
  273. PSPOOLER_SCHEDULE_JOB pSpoolerScheduleJobFunction = NULL;
  274. PSPOOLER_CLOSE_PRINTER pSpoolerClosePrinterFunction = NULL;