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.

67 lines
1.4 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-2001.
  5. //
  6. // File: V I R T U A L . H
  7. //
  8. // Contents: Header file for virtual miniport class.
  9. //
  10. // Notes:
  11. //
  12. // Author: Alok Sinha
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef VIRTUAL_H_INCLUDED
  16. #define VIRTUAL_H_INCLUDE
  17. #include <windows.h>
  18. #include <stdio.h>
  19. #include "netcfgn.h"
  20. #include "common.h"
  21. //
  22. // Class to represent a virtual miniport created by IM driver.
  23. //
  24. class CMuxVirtualMiniport
  25. {
  26. //
  27. // Private member variables.
  28. //
  29. INetCfg *m_pnc;
  30. GUID m_guidAdapter;
  31. GUID m_guidMiniport;
  32. //
  33. // Public members.
  34. //
  35. public:
  36. CMuxVirtualMiniport(INetCfg *m_pnc,
  37. GUID *pguidMiniport,
  38. GUID *guidAdapter);
  39. virtual ~CMuxVirtualMiniport(VOID);
  40. HRESULT LoadConfiguration(VOID);
  41. VOID GetAdapterGUID (GUID *);
  42. VOID GetMiniportGUID (GUID *);
  43. HRESULT Install (VOID);
  44. HRESULT DeInstall (VOID);
  45. HRESULT ApplyRegistryChanges (ConfigAction eApplyAction);
  46. HRESULT ApplyPnpChanges (INetCfgPnpReconfigCallback *pfCallback,
  47. ConfigAction eApplyAction);
  48. };
  49. #endif // VIRTUAL_H_INCLUDED