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.

24 lines
973 B

  1. typedef struct tagEXTENTLIST
  2. {
  3. PGNO pgnoLastInExtent;
  4. CPG cpgExtent;
  5. } EXTENTINFO;
  6. #define fSPOwnedExtent (1<<0)
  7. #define fSPAvailExtent (1<<1)
  8. #define fSPExtentLists (1<<2)
  9. #define FSPOwnedExtent( fSPExtents ) ( (fSPExtents) & fSPOwnedExtent )
  10. #define FSPAvailExtent( fSPExtents ) ( (fSPExtents) & fSPAvailExtent )
  11. #define FSPExtentLists( fSPExtents ) ( (fSPExtents) & fSPExtentLists )
  12. ERR ErrSPInitFDPWithoutExt( FUCB *pfucb, PGNO pgnoFDP );
  13. ERR ErrSPInitFDPWithExt( FUCB *pfucb, PGNO pgnoFDPFrom, PGNO pgnoFirst, INT cpgReqRet, INT cpgReqWish );
  14. ERR ErrSPGetExt( FUCB *pfucb, PGNO pgnoFDP, CPG *pcpgReq,
  15. CPG cpgMin, PGNO *ppgnoFirst, BOOL fNewFDP );
  16. ERR ErrSPGetPage( FUCB *pfucb, PGNO *ppgnoLast, BOOL fContig );
  17. ERR ErrSPFreeExt( FUCB *pfucb, PGNO pgnoFDP, PGNO pgnoFirst,
  18. CPG cpgSize );
  19. ERR ErrSPFreeFDP( FUCB *pfucb, PGNO pgnoFDP );
  20. ERR ErrSPGetInfo( PIB *ppib, DBID dbid, FUCB *pfucb, BYTE *pbResult, INT cbMax, BYTE fSPExtents );