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.

74 lines
1.2 KiB

  1. /*
  2. Copyright (c) 1998, Microsoft Corporation, all rights reserved
  3. Description:
  4. History:
  5. */
  6. #ifndef _HELPER_H_
  7. #define _HELPER_H_
  8. #include "rasiphlp.h"
  9. VOID
  10. TraceHlp(
  11. IN CHAR* Format,
  12. ...
  13. );
  14. DWORD
  15. HelperInitialize(
  16. OUT HINSTANCE* phInstanceDhcpDll
  17. );
  18. VOID
  19. HelperUninitialize(
  20. VOID
  21. );
  22. VOID
  23. HelperChangeNotification(
  24. VOID
  25. );
  26. DWORD
  27. HelperSetDefaultInterfaceNet(
  28. IN IPADDR nboIpAddrLocal,
  29. IN IPADDR nboIpAddrRemote,
  30. IN BOOL fPrioritize,
  31. IN WCHAR *pszDevice
  32. );
  33. DWORD
  34. HelperResetDefaultInterfaceNet(
  35. IN IPADDR nboIpAddr,
  36. IN BOOL fPrioritize
  37. );
  38. DWORD
  39. HelperSetDefaultInterfaceNetEx(
  40. IPADDR nboIpAddr,
  41. WCHAR* wszDevice,
  42. BOOL fPrioritize,
  43. WCHAR* wszDnsAddress,
  44. WCHAR* wszDns2Address,
  45. WCHAR* wszWinsAddress,
  46. WCHAR* wszWins2Address,
  47. BOOL fDisableNetBIOS
  48. );
  49. DWORD
  50. HelperResetDefaultInterfaceNetEx(
  51. IPADDR nboIpAddr,
  52. WCHAR* wszDevice,
  53. BOOL fPrioritize,
  54. WCHAR* wszDnsAddress,
  55. WCHAR* wszDns2Address,
  56. WCHAR* wszWinsAddress,
  57. WCHAR* wszWins2Address
  58. );
  59. #endif // #ifndef _HELPER_H_