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.

31 lines
634 B

  1. // Copyright (c) 1997-2000 Microsoft Corporation
  2. #ifndef _CHSTRING1_H_
  3. #define _CHSTRING1_H_
  4. #pragma once
  5. #include "CHString.h"
  6. class CHString1 : public CHString
  7. {
  8. public:
  9. CHString1();
  10. CHString1(TCHAR ch, int nLength);
  11. // CHString1(LPCTSTR lpch, int nLength);
  12. #ifdef _UNICODE
  13. CHString1(LPCSTR lpsz);
  14. #else //_UNICODE
  15. CHString1(LPCWSTR lpsz);
  16. #endif //!_UNICODE
  17. CHString1(LPCTSTR lpsz);
  18. CHString1(const CHString& stringSrc);
  19. CHString1(const CHString1& stringSrc);
  20. BOOL LoadString(UINT nID);
  21. protected:
  22. int LoadString(UINT nID,LPWSTR lpszBuf, UINT nMaxBuf);
  23. };
  24. #endif //_CHSTRING1_H_