windows-nt/Source/XPSP1/NT/net/ias/iasjet/setup/defaultprovider.cpp
2020-09-26 16:20:57 +08:00

43 lines
1.3 KiB
C++

/////////////////////////////////////////////////////////////////////////////
//
// Copyright(C) 2000 Microsoft Corporation all rights reserved.
//
// Module: DefaultProvider.cpp
//
// Project: Windows 2000 IAS
//
// Description: Implementation of the CDefaultProvider class
//
// Author: tperraut
//
// Revision 02/24/2000 created
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "DefaultProvider.h"
//////////////////////////////////////////////////////////////////////////
// GetDefaultProvider
//////////////////////////////////////////////////////////////////////////
HRESULT CDefaultProvider::GetDefaultProvider(
_bstr_t& UserDefinedName,
_bstr_t& Profile,
VARIANT_BOOL& ForwardAccounting,
VARIANT_BOOL& SupressAccounting,
VARIANT_BOOL& LogoutAccounting
)
{
HRESULT hr = BaseExecute();
if ( SUCCEEDED(hr) )
{
UserDefinedName = m_UserDefinedName;
Profile = m_Profile;
ForwardAccounting = m_ForwardAccounting;
SupressAccounting = m_SupressAccounting;
LogoutAccounting = m_LogoutAccounting;
}
return hr;
}