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.

39 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993 - 1999.
  5. //
  6. // File: PassportManager.h
  7. //
  8. // Contents: interface definition for IPassportManager
  9. //
  10. //----------------------------------------------------------------------------
  11. #ifndef _NUSRMGR_PASSPORTMANAGER_H_
  12. #define _NUSRMGR_PASSPORTMANAGER_H_
  13. class ATL_NO_VTABLE CPassportManager :
  14. public CComObjectRootEx<CComSingleThreadModel>,
  15. public IDispatchImpl<IPassportManager, &IID_IPassportManager, &LIBID_NUSRMGRLib>,
  16. public CComCoClass<CPassportManager, &CLSID_PassportManager>
  17. {
  18. public:
  19. CPassportManager(void) {};
  20. ~CPassportManager() {};
  21. DECLARE_REGISTRY_RESOURCEID((UINT)0)
  22. BEGIN_COM_MAP(CPassportManager)
  23. COM_INTERFACE_ENTRY(IPassportManager)
  24. COM_INTERFACE_ENTRY2(IDispatch, IPassportManager)
  25. END_COM_MAP()
  26. // *** IPassportManager ***
  27. STDMETHODIMP get_currentPassport(BSTR* pbstrPassport);
  28. STDMETHODIMP get_memberServicesURL(BSTR* pbstrURL);
  29. STDMETHODIMP showWizard(VARIANT varOwner, VARIANT_BOOL *pbRet);
  30. STDMETHODIMP showKeyManager(VARIANT varOwner, VARIANT_BOOL *pbRet);
  31. };
  32. #endif // _NUSRMGR_PASSPORTMANAGER_H_