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.

31 lines
958 B

  1. //-----------------------------------------------------------------------------
  2. // File: cyclestr.h
  3. //
  4. // Desc: Implements a circular queue that provides space to hold a string
  5. // without repeatedly allocating and deallocating memory. This is
  6. // only for short-term use such as outputting debug message to
  7. // ensure that the same buffer is not used at more than one place
  8. // simultaneously.
  9. //
  10. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  11. //-----------------------------------------------------------------------------
  12. #ifndef __CYCLESTR_H__
  13. #define __CYCLESTR_H__
  14. LPTSTR getcyclestr();
  15. LPCTSTR SAFESTR(LPCWSTR);
  16. LPCTSTR SAFESTR(LPCSTR);
  17. LPCTSTR QSAFESTR(LPCWSTR);
  18. LPCTSTR QSAFESTR(LPCSTR);
  19. LPCTSTR BOOLSTR(BOOL);
  20. LPCTSTR RECTSTR(RECT &);
  21. LPCTSTR RECTDIMSTR(RECT &);
  22. LPCTSTR POINTSTR(POINT &);
  23. LPCTSTR GUIDSTR(const GUID &);
  24. LPCTSTR SUPERSTR(LPCWSTR);
  25. LPCTSTR SUPERSTR(LPCSTR);
  26. #endif //__CYCLESTR_H__