40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
//+---------------------------------------------------------------------------
|
|
//
|
|
// 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_
|