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.

64 lines
1.3 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. /*
  25. extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  26. extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  27. extern CHAR g_ScopeIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  28. extern WCHAR g_ScopeIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  29. extern LPSTR g_MScopeNameAnsiString;
  30. extern LPWSTR g_MScopeNameUnicodeString;
  31. */
  32. DWORD g_dwMScopeID;
  33. DWORD
  34. WINAPI
  35. MScopeCommit(
  36. IN DWORD dwAction
  37. );
  38. NS_CONTEXT_ENTRY_FN MScopeMonitor;
  39. DWORD
  40. WINAPI
  41. MScopeUnInit(
  42. IN DWORD dwReserved
  43. );
  44. BOOL
  45. SetMScopeInfo(
  46. IN LPWSTR pwszMScope
  47. );