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.

41 lines
791 B

  1. // Query.h: interface of the CQuery class.
  2. //
  3. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #ifndef ___EXTEND_QUERY___
  7. #define ___EXTEND_QUERY___
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif _MSC_VER >= 1000
  11. #include "ExtendString.h"
  12. // query
  13. class Query : public CStringExt
  14. {
  15. public:
  16. Query ( DWORD dwSize = BUFF_SIZE_EXT );
  17. Query ( LPCTSTR wsz );
  18. ~Query ( );
  19. };
  20. class QueryExt : public CStringExt
  21. {
  22. public:
  23. QueryExt ( LPCTSTR wsz, DWORD dwSize = BUFF_SIZE_EXT );
  24. ~QueryExt ( );
  25. // string manipulation
  26. HRESULT Append ( DWORD dwCount, ... );
  27. private:
  28. DWORD m_dwSizeConstant;
  29. LPCTSTR m_wszStringConstant;
  30. };
  31. #endif ___EXTEND_QUERY___