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.

58 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1994-1996, Microsoft Corporation.
  4. //
  5. // File: querydef.hxx
  6. //
  7. // Contents: Common definitions used for internal implementation of query
  8. //
  9. // History: 19-Jun-95 BartoszM Created
  10. //
  11. //----------------------------------------------------------------------------
  12. #pragma once
  13. typedef ULONG CI_TBL_BMK;
  14. typedef ULONG CI_TBL_CHAPT;
  15. //
  16. // Limits of the implementation
  17. //
  18. // Property values larger than this are deferred.
  19. // This number must be 8-byte aligned.
  20. const unsigned cbMaxNonDeferredValueSize = 2048;
  21. #define TBL_MAX_DATA cbMaxNonDeferredValueSize
  22. #define TBL_MAX_BINDING 2048 // Maximum size of a set of column bindings
  23. #define TBL_MAX_OUTROWLENGTH 2048 // Maximum allowed output row
  24. #define MAX_ROW_SIZE 2048 // Maximum length of a row in a window
  25. #define DEFAULT_MEM_TARGET (1*1024*1024) // memory consumption target
  26. //
  27. // Constants
  28. //
  29. // Sentinel values for bookmarks
  30. #if !defined( WORKID_TBLFIRST )
  31. // they are also defined in ofsdisk.h
  32. #define WORKID_TBLBEFOREFIRST ((WORKID)0xfffffffb)
  33. #define WORKID_TBLFIRST ((WORKID)0xfffffffc)
  34. #define WORKID_TBLLAST ((WORKID)0xfffffffd)
  35. #define WORKID_TBLAFTERLAST ((WORKID)0xfffffffe)
  36. #endif // !defined( WORKID_TBLFIRST )
  37. #define TYPE_WORKID VT_I4
  38. #define TYPE_PATH VT_LPWSTR
  39. #define TYPE_NAME VT_LPWSTR
  40. const HWATCHREGION watchRegionInvalid = 0;