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.

28 lines
591 B

  1. //
  2. // Storage System Interface Block
  3. //
  4. struct _ssib
  5. {
  6. struct _pib *ppib; // process using this SSIB
  7. struct _bf *pbf; // ptr to page that cusr on, or pbcbNil
  8. LINE line; // cb/pb of current record
  9. INT itag; // current line
  10. };
  11. #define SetupSSIB( pssibT, ppibUser ) \
  12. { \
  13. (pssibT)->pbf = pbfNil; \
  14. (pssibT)->ppib = ppibUser; \
  15. }
  16. #define SSIBSetDbid( pssib, dbid )
  17. #define SSIBSetPgno( pssib, pgno )
  18. #ifdef DEBUG
  19. #define CheckSSIB( pssib ) \
  20. Assert( pssib->pbf != pbfNil )
  21. #else
  22. #define CheckSSIB( pssib ) ((VOID) 0)
  23. #endif
  24.