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.

128 lines
2.5 KiB

  1. ERR ErrSORTInsert( FUCB *pfucb, LINE rglineKeyRec[] );
  2. ERR ErrSORTEndInsert( FUCB *pfucb );
  3. ERR ErrSORTFirst( FUCB *pfucb );
  4. ERR ErrSORTNext( FUCB *pfucb );
  5. ERR ErrSORTPrev( FUCB *pfucb );
  6. ERR ErrSORTSeek( FUCB *pfucb, KEY *pkey, BOOL fGT );
  7. ERR ErrSORTOpen( PIB *ppib, FUCB **ppfucb, INT fFlags );
  8. ERR ErrSORTClose( FUCB *pfucb );
  9. VOID SORTClosePscb( SCB *pscb );
  10. ERR ErrSORTCheckIndexRange( FUCB *pfucb );
  11. // ======================== API ============================
  12. ERR VTAPI ErrIsamSortOpen(
  13. PIB *ppib,
  14. JET_COLUMNDEF *rgcolumndef,
  15. ULONG ccolumndef,
  16. ULONG langid,
  17. JET_GRBIT grbit,
  18. FUCB **ppfucb,
  19. JET_COLUMNID *rgcolumnid );
  20. ERR VTAPI ErrIsamSortMove(
  21. PIB *ppib,
  22. FUCB *pfucb,
  23. long crow,
  24. JET_GRBIT grbit );
  25. ERR VTAPI ErrIsamSortSetIndexRange(
  26. PIB *ppib,
  27. FUCB *pfucb,
  28. JET_GRBIT grbit );
  29. ERR VTAPI ErrIsamSortInsert(
  30. PIB *ppib,
  31. FUCB *pfucb,
  32. BYTE *pb,
  33. ULONG cbMax,
  34. ULONG *pcbActual );
  35. ERR VTAPI ErrIsamSortSeek(
  36. PIB *ppib,
  37. FUCB *pfucb,
  38. JET_GRBIT grbit );
  39. ERR VTAPI ErrIsamSortDupCursor(
  40. PIB *ppib,
  41. FUCB *pfucb,
  42. JET_TABLEID *tableid,
  43. JET_GRBIT ulFlags);
  44. ERR VTAPI ErrIsamSortClose(
  45. PIB *ppib,
  46. FUCB *pfucb );
  47. ERR VTAPI ErrIsamSortGotoBookmark(
  48. PIB *ppib,
  49. FUCB *pfucb,
  50. void *pv,
  51. unsigned long cbBookmark );
  52. ERR VTAPI ErrIsamSortGetTableInfo(
  53. PIB *ppib,
  54. FUCB *pfucb,
  55. void *pv,
  56. unsigned long cbOutMax,
  57. unsigned long lInfoLevel );
  58. ERR VTAPI ErrIsamCopyBookmarks(
  59. PIB *ppib,
  60. FUCB *pfucbSrc,
  61. FUCB *pfucbDest,
  62. JET_COLUMNID columnidDest,
  63. unsigned long crecMax,
  64. unsigned long *pcrowCopied,
  65. unsigned long *precidLast );
  66. ERR VTAPI ErrIsamSortRetrieveKey(
  67. PIB *ppib,
  68. FUCB *pfucb,
  69. void *pb,
  70. unsigned long cbMax,
  71. unsigned long *pcbActual,
  72. JET_GRBIT grbit );
  73. ERR VTAPI ErrIsamSortGetBookmark(
  74. PIB *ppib,
  75. FUCB *pfucb,
  76. void *pb,
  77. unsigned long cbMax,
  78. unsigned long *pcbActual );
  79. ERR VTAPI ErrIsamSortMaterialize(
  80. PIB *ppib,
  81. FUCB *pfucb,
  82. BOOL fIndex );
  83. ERR VTAPI ErrIsamSortEndInsert(
  84. PIB *ppib,
  85. FUCB *pfucb,
  86. JET_GRBIT *pgrbit );
  87. typedef struct _vl
  88. {
  89. short vlt;
  90. union
  91. {
  92. BYTE rgb[8];
  93. short int i2;
  94. unsigned long sd;
  95. };
  96. } VL;
  97. ERR VTAPI ErrIsamGetVL(
  98. PIB *ppib,
  99. JET_TABLEID tableid,
  100. int itib,
  101. JET_COLUMNID columnid,
  102. VL *pvl );
  103. ERR VTAPI ErrIsamSetVL(
  104. PIB *ppib,
  105. JET_TABLEID tableid,
  106. JET_COLUMNID columnid,
  107. VL *pvl );
  108.