windows-nt/Source/XPSP1/NT/shell/cpls/nusrmgr/passportmanager.h

40 lines
1.2 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1993 - 1999.
//
// File: PassportManager.h
//
// Contents: interface definition for IPassportManager
//
//----------------------------------------------------------------------------
#ifndef _NUSRMGR_PASSPORTMANAGER_H_
#define _NUSRMGR_PASSPORTMANAGER_H_
class ATL_NO_VTABLE CPassportManager :
public CComObjectRootEx<CComSingleThreadModel>,
public IDispatchImpl<IPassportManager, &IID_IPassportManager, &LIBID_NUSRMGRLib>,
public CComCoClass<CPassportManager, &CLSID_PassportManager>
{
public:
CPassportManager(void) {};
~CPassportManager() {};
DECLARE_REGISTRY_RESOURCEID((UINT)0)
BEGIN_COM_MAP(CPassportManager)
COM_INTERFACE_ENTRY(IPassportManager)
COM_INTERFACE_ENTRY2(IDispatch, IPassportManager)
END_COM_MAP()
// *** IPassportManager ***
STDMETHODIMP get_currentPassport(BSTR* pbstrPassport);
STDMETHODIMP get_memberServicesURL(BSTR* pbstrURL);
STDMETHODIMP showWizard(VARIANT varOwner, VARIANT_BOOL *pbRet);
STDMETHODIMP showKeyManager(VARIANT varOwner, VARIANT_BOOL *pbRet);
};
#endif // _NUSRMGR_PASSPORTMANAGER_H_