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.

290 lines
7.5 KiB

  1. //========================================================================
  2. // Copyright (C) 1997 Microsoft Corporation
  3. // Author: RameshV
  4. // Description: This file has been generated. Pl look at the .c file
  5. //========================================================================
  6. DWORD
  7. DhcpRegSaveOptDef(
  8. IN DWORD OptId,
  9. IN LPWSTR ClassName,
  10. IN LPWSTR VendorName,
  11. IN LPWSTR Name,
  12. IN LPWSTR Comment,
  13. IN DWORD OptType,
  14. IN LPBYTE OptVal,
  15. IN DWORD OptLen
  16. ) ;
  17. DWORD
  18. DhcpRegDeleteOptDef(
  19. IN DWORD OptId,
  20. IN LPWSTR ClassName,
  21. IN LPWSTR VendorName
  22. ) ;
  23. DWORD
  24. DhcpRegSaveGlobalOption(
  25. IN DWORD OptId,
  26. IN LPWSTR ClassName,
  27. IN LPWSTR VendorName,
  28. IN LPBYTE Value,
  29. IN DWORD ValueSize
  30. ) ;
  31. DWORD
  32. DhcpRegDeleteGlobalOption(
  33. IN DWORD OptId,
  34. IN LPWSTR ClassName,
  35. IN LPWSTR VendorName
  36. ) ;
  37. DWORD
  38. DhcpRegSaveSubnetOption(
  39. IN PM_SUBNET Subnet,
  40. IN DWORD OptId,
  41. IN LPWSTR ClassName,
  42. IN LPWSTR VendorName,
  43. IN LPBYTE Value,
  44. IN DWORD ValueSize
  45. ) ;
  46. DWORD
  47. DhcpRegDeleteSubnetOption(
  48. IN PM_SUBNET Subnet,
  49. IN DWORD OptId,
  50. IN LPWSTR ClassName,
  51. IN LPWSTR VendorName
  52. ) ;
  53. DWORD
  54. DhcpRegSaveReservedOption(
  55. IN DWORD Address,
  56. IN DWORD ReservedAddress,
  57. IN DWORD OptId,
  58. IN LPWSTR ClassName,
  59. IN LPWSTR VendorName,
  60. IN LPBYTE Value,
  61. IN DWORD ValueSize
  62. ) ;
  63. DWORD
  64. DhcpRegDeleteReservedOption(
  65. IN DWORD Address,
  66. IN DWORD ReservedAddress,
  67. IN DWORD OptId,
  68. IN LPWSTR ClassName,
  69. IN LPWSTR VendorName
  70. ) ;
  71. DWORD
  72. DhcpRegSaveClassDef(
  73. IN LPWSTR Name,
  74. IN LPWSTR Comment,
  75. IN DWORD Flags,
  76. IN LPBYTE Data,
  77. IN DWORD DataLength
  78. ) ;
  79. DWORD
  80. DhcpRegDeleteClassDef(
  81. IN LPWSTR Name
  82. ) ;
  83. DWORD
  84. DhcpRegSaveReservation(
  85. IN DWORD Subnet,
  86. IN DWORD Address,
  87. IN DWORD Flags,
  88. IN LPBYTE ClientUID,
  89. IN DWORD ClientUIDLength
  90. ) ;
  91. DWORD
  92. DhcpRegDeleteReservation(
  93. IN DWORD Subnet,
  94. IN DWORD Address
  95. ) ;
  96. DWORD
  97. DhcpRegSScopeDeleteSubnet(
  98. IN LPWSTR SScopeName,
  99. IN DWORD SubnetAddress
  100. ) ;
  101. DWORD
  102. DhcpRegDelSubnetFromAllSScopes(
  103. IN DWORD Address
  104. ) ;
  105. DWORD
  106. DhcpRegSScopeSaveSubnet(
  107. IN LPWSTR SScopeName,
  108. IN DWORD Address
  109. ) ;
  110. DWORD
  111. DhcpRegDeleteSScope(
  112. IN LPWSTR SScopeName
  113. ) ;
  114. DWORD
  115. DhcpRegSaveSubnet(
  116. IN DWORD SubnetAddress,
  117. IN DWORD SubnetMask,
  118. IN DWORD SubnetState,
  119. IN LPWSTR SubnetName,
  120. IN LPWSTR SubnetComment
  121. ) ;
  122. DWORD
  123. DhcpRegDeleteSubnet(
  124. IN PM_SUBNET Subnet
  125. ) ;
  126. DWORD
  127. DhcpRegAddRange(
  128. IN PM_SUBNET Subnet,
  129. IN DWORD RangeStartAddress,
  130. IN DWORD RangeEndAddress,
  131. IN ULONG BootpAllocated,
  132. IN ULONG MaxBootpAllowed,
  133. IN DWORD Type
  134. ) ;
  135. DWORD
  136. DhcpRegAddRangeEx(
  137. IN PM_SUBNET Subnet,
  138. IN DWORD RangeStartAddress,
  139. IN DWORD RangeEndAddress,
  140. IN DWORD Type,
  141. IN ULONG BootpAllocated,
  142. IN ULONG MaxBootpAllowed,
  143. IN LPBYTE InUseClusters,
  144. IN DWORD InUseClustersSize,
  145. IN LPBYTE UsedClusters,
  146. IN DWORD UsedClustersSize
  147. ) ;
  148. DWORD
  149. DhcpRegDeleteRange(
  150. IN PM_SUBNET Subnet,
  151. IN DWORD RangeStartAddress
  152. ) ;
  153. DWORD
  154. DhcpRegDeleteRangeEx(
  155. IN PM_SUBNET Subnet,
  156. IN DWORD RangeStartAddress,
  157. OUT LPBYTE *InUseClusters,
  158. OUT DWORD *InUseClustersSize,
  159. OUT LPBYTE *UsedClusters,
  160. OUT DWORD *UsedClustersSize
  161. ) ;
  162. DWORD
  163. DhcpRegSaveExcl(
  164. IN PM_SUBNET Subnet,
  165. IN LPBYTE ExclBytes,
  166. IN DWORD nBytes
  167. ) ;
  168. DWORD
  169. DhcpRegSaveBitMask(
  170. IN PM_SUBNET Subnet,
  171. IN DWORD RangeStartAddress,
  172. IN LPBYTE InUse,
  173. IN DWORD InUseSize,
  174. IN LPBYTE Used,
  175. IN DWORD UsedSize
  176. ) ;
  177. DWORD
  178. DhcpRegSaveMScope(
  179. IN DWORD MScopeId,
  180. IN DWORD SubnetState,
  181. IN DWORD AddressPolicy,
  182. IN DWORD TTL,
  183. IN LPWSTR pMScopeName,
  184. IN LPWSTR pMScopeComment,
  185. IN LPWSTR LangTag,
  186. IN PDATE_TIME ExpiryTime
  187. ) ;
  188. //========================================================================
  189. // end of file
  190. //========================================================================
  191. //========================================================================
  192. // Copyright (C) 1997 Microsoft Corporation
  193. // Author: RameshV
  194. // Description: This file has been generated. Pl look at the .c file
  195. //========================================================================
  196. #define FLUSH_MODIFIED_DIRTY 0
  197. #define FLUSH_MODIFIED 1
  198. #define FLUSH_ANYWAY 2
  199. DWORD
  200. FlushRanges(
  201. IN PM_RANGE Range,
  202. IN DWORD FlushNow,
  203. IN PM_SUBNET Subnet
  204. ) ;
  205. DWORD
  206. DhcpRegServerFlush(
  207. IN PM_SERVER Server,
  208. IN DWORD FlushNow
  209. ) ;
  210. DWORD
  211. DhcpRegFlushServer(
  212. IN DWORD FlushNow
  213. ) ;
  214. DWORD
  215. DhcpRegServerSave(
  216. IN PM_SERVER Server
  217. ) ;
  218. DWORD
  219. DhcpMigrateMScopes(
  220. IN LPCWSTR OldMscopeName,
  221. IN LPCWSTR NewMscopeName,
  222. IN DWORD (*SaveOrRestoreRoutine)(
  223. IN HKEY Key, IN LPWSTR ConfigName, IN BOOL fRestore
  224. )
  225. ) ;
  226. //========================================================================
  227. // end of file
  228. //========================================================================