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.

39 lines
1.0 KiB

  1. //
  2. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  3. //
  4. // ***************************************************************************
  5. //
  6. // Original Author: Rajesh Rao
  7. //
  8. // $Author: rajeshr $
  9. // $Date: 6/11/98 4:43p $
  10. // $Workfile:adsihelp.h $
  11. //
  12. // $Modtime: 6/11/98 11:21a $
  13. // $Revision: 1 $
  14. // $Nokeywords: $
  15. //
  16. //
  17. // Description: Contains the declaration for the CADSIHelper class. This is
  18. // a class that has many static helper functions pertaining to ADSI
  19. //***************************************************************************
  20. /////////////////////////////////////////////////////////////////////////
  21. #ifndef ADSI_HELPER_H
  22. #define ADSI_HELPER_H
  23. class CADSIHelper
  24. {
  25. public:
  26. // Deallocates an array of BSTRs and its contents
  27. static void DeallocateBSTRArray(BSTR *pStrPropertyValue, LONG lNumber);
  28. private:
  29. static HRESULT ProcessBSTRArrayProperty(
  30. VARIANT *pVariant,
  31. BSTR **ppStrPropertyValues,
  32. LONG *pLong);
  33. };
  34. #endif /* ADSI_HELPER_H */