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.

58 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. Routing\Netsh\dhcp\dhcpmon.h
  5. Abstract:
  6. DHCP Command dispatcher.
  7. Created by:
  8. Shubho Bhattacharya(a-sbhatt) on 11/14/98
  9. --*/
  10. #define MAX_OPTION_NAME_LEN 35
  11. #define MAX_OPTION_ID_LEN 14
  12. #define MAX_OPTION_ARRAY_TYPE_LEN 13
  13. extern HANDLE g_hModule;
  14. extern HANDLE g_hParentModule;
  15. extern HANDLE g_hDhcpsapiModule;
  16. extern BOOL g_bCommit;
  17. extern BOOL g_hConnect;
  18. extern BOOL g_fServer;
  19. extern DWORD g_dwNumTableEntries;
  20. extern PWCHAR g_pwszRouter;
  21. extern PWCHAR g_pwszServer;
  22. extern ULONG g_ulInitCount;
  23. extern ULONG g_ulNumTopCmds;
  24. extern ULONG g_ulNumGroups;
  25. extern DWORD g_dwMajorVersion;
  26. extern DWORD g_dwMinorVersion;
  27. extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  28. extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  29. extern DWORD g_dwIPCount;
  30. extern LPWSTR *g_ppServerIPList;
  31. DWORD
  32. WINAPI
  33. SrvrCommit(
  34. IN DWORD dwAction
  35. );
  36. NS_CONTEXT_ENTRY_FN SrvrMonitor;
  37. DWORD
  38. WINAPI
  39. SrvrUnInit(
  40. IN DWORD dwReserved
  41. );