Source code of Windows XP (NT5)
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.

32 lines
1.0 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 2000 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: RADIUSAttributeValues.cpp
  6. //
  7. // Project: Windows 2000 IAS
  8. //
  9. // Description:
  10. // Implementation of the CRADIUSAttributeValues class
  11. //
  12. // Author: tperraut
  13. //
  14. // Revision 03/15/2000 created
  15. //
  16. #include "stdafx.h"
  17. #include "RADIUSAttributeValues.h"
  18. //////////////////////////////////////////////////////////////////////////
  19. // GetAttributeNumber
  20. //////////////////////////////////////////////////////////////////////////
  21. LONG CRADIUSAttributeValues::GetAttributeNumber(
  22. const _bstr_t& AttributeName,
  23. const _bstr_t& AttributeValueName
  24. )
  25. {
  26. lstrcpynW(m_AttributeParam, AttributeName, COLUMN_SIZE);
  27. lstrcpynW(m_AttributeValueNameParam, AttributeValueName, COLUMN_SIZE);
  28. _com_util::CheckError(BaseExecute());
  29. return m_AttributeValueNumber;
  30. }