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.

42 lines
1.4 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 2000 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: DefaultProvider.cpp
  6. //
  7. // Project: Windows 2000 IAS
  8. //
  9. // Description: Implementation of the CDefaultProvider class
  10. //
  11. // Author: tperraut
  12. //
  13. // Revision 02/24/2000 created
  14. //
  15. /////////////////////////////////////////////////////////////////////////////
  16. #include "stdafx.h"
  17. #include "DefaultProvider.h"
  18. //////////////////////////////////////////////////////////////////////////
  19. // GetDefaultProvider
  20. //////////////////////////////////////////////////////////////////////////
  21. HRESULT CDefaultProvider::GetDefaultProvider(
  22. _bstr_t& UserDefinedName,
  23. _bstr_t& Profile,
  24. VARIANT_BOOL& ForwardAccounting,
  25. VARIANT_BOOL& SupressAccounting,
  26. VARIANT_BOOL& LogoutAccounting
  27. )
  28. {
  29. HRESULT hr = BaseExecute();
  30. if ( SUCCEEDED(hr) )
  31. {
  32. UserDefinedName = m_UserDefinedName;
  33. Profile = m_Profile;
  34. ForwardAccounting = m_ForwardAccounting;
  35. SupressAccounting = m_SupressAccounting;
  36. LogoutAccounting = m_LogoutAccounting;
  37. }
  38. return hr;
  39. }