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.

62 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_IP_STRING_LEN 15
  11. extern HANDLE g_hModule;
  12. extern HANDLE g_hParentModule;
  13. extern HANDLE g_hDhcpsapiModule;
  14. extern BOOL g_bCommit;
  15. extern BOOL g_hConnect;
  16. extern BOOL g_fScope;
  17. extern PWCHAR g_pwszServer;
  18. extern DWORD g_dwMajorVersion;
  19. extern DWORD g_dwMinorVersion;
  20. extern DHCP_IP_ADDRESS g_ServerIpAddress;
  21. extern ULONG g_ulInitCount;
  22. extern ULONG g_ulNumTopCmds;
  23. extern ULONG g_ulNumGroups;
  24. extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  25. extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  26. extern CHAR g_ScopeIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  27. extern WCHAR g_ScopeIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  28. DHCP_IP_ADDRESS g_ScopeIpAddress;
  29. DWORD
  30. WINAPI
  31. ScopeCommit(
  32. IN DWORD dwAction
  33. );
  34. NS_CONTEXT_ENTRY_FN ScopeMonitor;
  35. DWORD
  36. WINAPI
  37. ScopeUnInit(
  38. IN DWORD dwReserved
  39. );
  40. BOOL
  41. SetScopeInfo(
  42. IN LPWSTR pwszScope
  43. );