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.

86 lines
1.7 KiB

  1. #ifndef _HOMENET_H_
  2. #define _HOMENET_H_
  3. //////////////////////////////////////////////////////////////////////////////
  4. //
  5. // Copyright (c) 2000 Microsoft Corporation
  6. //
  7. // Module: homenet.h
  8. //
  9. // Author: Dan Elliott
  10. //
  11. // Abstract:
  12. //
  13. // Environment:
  14. // Neptune
  15. //
  16. // Revision History:
  17. //
  18. //////////////////////////////////////////////////////////////////////////////
  19. #include <shpriv.h>
  20. //////////////////////////////////////////////////////////////////////////////
  21. //
  22. // CHomeNet
  23. //
  24. // Abstract: This class manages configuration and connection of Home
  25. // Networking components.
  26. //
  27. class CHomeNet
  28. {
  29. public: // operations
  30. CHomeNet( );
  31. ~CHomeNet( );
  32. HRESULT Create();
  33. HRESULT ConfigureSilently(
  34. LPCWSTR szConnectoidName,
  35. BOOL* pfRebootRequired
  36. );
  37. BOOL
  38. IsValid( ) const
  39. {
  40. return (NULL != m_pHNWiz);
  41. } // IsValid
  42. protected: // operations
  43. protected: // data
  44. private: // operations
  45. // Explicitly disallow copy constructor and assignment operator.
  46. //
  47. CHomeNet(
  48. const CHomeNet& rhs
  49. );
  50. CHomeNet&
  51. operator=(
  52. const CHomeNet& rhs
  53. );
  54. void
  55. DeepCopy(
  56. const CHomeNet& rhs
  57. )
  58. {
  59. } // DeepCopy
  60. private: // data
  61. // Pointer to the Home Networking Wizard for configuring HomeNet components.
  62. //
  63. IHomeNetworkWizard* m_pHNWiz;
  64. }; // CHomeNet
  65. #endif // _HOMENET_H_
  66. //
  67. ///// End of file: homenet.h ////////////////////////////////////////////////