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.

38 lines
1.1 KiB

  1. // ProfMig.h : Declaration of the CExtendProfileMigration
  2. #ifndef __EXTENDPROFILEMIGRATION_H_
  3. #define __EXTENDPROFILEMIGRATION_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CExtendProfileMigration
  7. class ATL_NO_VTABLE CExtendProfileMigration :
  8. public CComObjectRootEx<CComMultiThreadModel>,
  9. public CComCoClass<CExtendProfileMigration, &CLSID_ExtendProfileMigration>,
  10. public IDispatchImpl<IExtendProfileMigration, &IID_IExtendProfileMigration, &LIBID_PROFEXTLib>
  11. {
  12. public:
  13. CExtendProfileMigration()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_EXTENDPROFILEMIGRATION)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CExtendProfileMigration)
  19. COM_INTERFACE_ENTRY(IExtendProfileMigration)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IExtendProfileMigration
  23. public:
  24. STDMETHOD(UpdateProfile)(/*[in]*/ IUnknown * pVarSet);
  25. STDMETHOD(GetRegisterableFiles)(/*[out]*/ SAFEARRAY ** pArray);
  26. STDMETHOD(GetRequiredFiles)(/*[out]*/ SAFEARRAY ** pArray);
  27. private:
  28. HRESULT UpdateMappedDrives(BSTR sSourceSam, BSTR sSourceDomain, BSTR sRegistryKey);
  29. };
  30. #endif //__EXTENDPROFILEMIGRATION_H_