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.

78 lines
1.1 KiB

  1. #include "netpch.h"
  2. #pragma hdrstop
  3. #include <dhcpcapi.h>
  4. static
  5. DWORD
  6. APIENTRY
  7. DhcpAcquireParameters(
  8. LPWSTR AdapterName
  9. )
  10. {
  11. return ERROR_PROC_NOT_FOUND;
  12. }
  13. static
  14. DWORD
  15. APIENTRY
  16. DhcpAcquireParametersByBroadcast(
  17. LPWSTR AdapterName
  18. )
  19. {
  20. return ERROR_PROC_NOT_FOUND;
  21. }
  22. static
  23. DWORD
  24. APIENTRY
  25. DhcpNotifyConfigChange(
  26. LPWSTR ServerName,
  27. LPWSTR AdapterName,
  28. BOOL IsNewIpAddress,
  29. DWORD IpIndex,
  30. DWORD IpAddress,
  31. DWORD SubnetMask,
  32. SERVICE_ENABLE DhcpServiceEnabled
  33. )
  34. {
  35. return ERROR_PROC_NOT_FOUND;
  36. }
  37. static
  38. DWORD
  39. APIENTRY
  40. DhcpStaticRefreshParams(
  41. IN LPWSTR Adapter
  42. )
  43. {
  44. return ERROR_PROC_NOT_FOUND;
  45. }
  46. static
  47. DWORD
  48. APIENTRY
  49. DhcpReleaseParameters(
  50. LPWSTR AdapterName
  51. )
  52. {
  53. return ERROR_PROC_NOT_FOUND;
  54. }
  55. //
  56. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  57. //
  58. DEFINE_PROCNAME_ENTRIES(dhcpcsvc)
  59. {
  60. DLPENTRY(DhcpAcquireParameters)
  61. DLPENTRY(DhcpAcquireParametersByBroadcast)
  62. DLPENTRY(DhcpNotifyConfigChange)
  63. DLPENTRY(DhcpReleaseParameters)
  64. DLPENTRY(DhcpStaticRefreshParams)
  65. };
  66. DEFINE_PROCNAME_MAP(dhcpcsvc)