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.

89 lines
1.5 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. extern HANDLE g_hModule;
  11. extern HANDLE g_hDhcpsapiModule;
  12. extern BOOL g_bCommit;
  13. extern BOOL g_hConnect;
  14. extern DWORD g_dwNumTableEntries;
  15. extern PWCHAR g_pwszRouter;
  16. extern ULONG g_ulInitCount;
  17. extern ULONG g_ulNumTopCmds;
  18. extern ULONG g_ulNumGroups;
  19. extern LPWSTR g_pwszServer;
  20. extern LPSTR g_ServerNameAnsi;
  21. extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  22. extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  23. extern WCHAR g_ScopeIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
  24. extern CHAR g_ScopeIpAddressAnsiString[MAX_IP_STRING_LEN+1];
  25. extern LPWSTR g_MScopeNameUnicodeString;
  26. extern LPSTR g_MScopeNameAnsiString;
  27. extern LPWSTR g_UserClass;
  28. extern BOOL g_fUserClass;
  29. extern LPWSTR g_VendorClass;
  30. extern BOOL g_fIsVendor;
  31. DWORD
  32. WINAPI
  33. DhcpCommit(
  34. IN DWORD dwAction
  35. );
  36. BOOL
  37. WINAPI
  38. DhcpDllEntry(
  39. HINSTANCE hInstDll,
  40. DWORD fdwReason,
  41. LPVOID pReserved
  42. );
  43. NS_CONTEXT_ENTRY_FN DhcpMonitor;
  44. DWORD
  45. WINAPI
  46. DhcpUnInit(
  47. IN DWORD dwReserved
  48. );
  49. BOOL
  50. SetServerInfo(
  51. IN LPCWSTR pwszServerInfo
  52. );
  53. BOOL
  54. IsHelpToken(
  55. PWCHAR pwszToken
  56. );
  57. BOOL
  58. IsReservedKeyWord(
  59. PWCHAR pwszToken
  60. );
  61. DWORD
  62. DisplayErrorMessage(
  63. HANDLE hModule,
  64. DWORD dwMsgID,
  65. DWORD dwErrID,
  66. ...
  67. );