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.

34 lines
680 B

  1. #pragma pack(1)
  2. typedef struct
  3. {
  4. ULONG cItems;
  5. ULONG cKeys;
  6. ULONG cPages;
  7. JET_DATESERIAL dtWhenRun;
  8. } SR;
  9. #pragma pack()
  10. ERR ErrSTATSComputeIndexStats( PIB *ppib, FCB *pfcbIdx, FUCB *pfucb );
  11. ERR ErrSTATSRetrieveTableStats(
  12. PIB *ppib,
  13. DBID dbid,
  14. char *szTable,
  15. long *pcRecord,
  16. long *pcKey,
  17. long *pcPage );
  18. ERR ErrSTATSRetrieveIndexStats(
  19. FUCB *pfucbTable,
  20. char *szIndex,
  21. BOOL fClustered,
  22. long *pcItem,
  23. long *pcKey,
  24. long *pcPage );
  25. // This actually belongs in systab.h, but then we'd have a cyclic dependency
  26. // on SR.
  27. ERR ErrCATStats(PIB *ppib, DBID dbid, OBJID objidTable, CHAR *sz2ndIdxName,
  28. SR *psr, BOOL fWrite);;