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.

32 lines
867 B

  1. // RegStringArray.h: interface for the CRegStringArray class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_REGSTRINGARRAY_H__BBA3E398_DEFE_49DE_9674_D25E0687BCB8__INCLUDED_)
  5. #define AFX_REGSTRINGARRAY_H__BBA3E398_DEFE_49DE_9674_D25E0687BCB8__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include <tchar.h>
  10. #include "RegFile.h" // Added by ClassView
  11. class CRegStringBuffer
  12. {
  13. public:
  14. void Sort(int NumElements);
  15. TCHAR** Access(int NumElements, int ElementSize);
  16. CRegStringBuffer(int arraySize, int elementSize);
  17. virtual ~CRegStringBuffer();
  18. TCHAR** GetDirect() {return m_Array;}
  19. protected:
  20. TCHAR** m_Array;
  21. int m_arraySize, m_elementSize;
  22. int m_cellsUsed;
  23. };
  24. #endif // !defined(AFX_REGSTRINGARRAY_H__BBA3E398_DEFE_49DE_9674_D25E0687BCB8__INCLUDED_)