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.

107 lines
1.5 KiB

  1. //
  2. // REGDBLK.H
  3. //
  4. // Copyright (C) Microsoft Corporation, 1995
  5. //
  6. #ifndef _REGDBLK_
  7. #define _REGDBLK_
  8. int
  9. INTERNAL
  10. RgInitDatablockInfo(
  11. LPFILE_INFO lpFileInfo,
  12. HFILE hFile
  13. );
  14. int
  15. INTERNAL
  16. RgLockDatablock(
  17. LPFILE_INFO lpFileInfo,
  18. UINT BlockIndex
  19. );
  20. VOID
  21. INTERNAL
  22. RgUnlockDatablock(
  23. LPFILE_INFO lpFileInfo,
  24. UINT BlockIndex,
  25. BOOL fMarkDirty
  26. );
  27. int
  28. INTERNAL
  29. RgLockKeyRecord(
  30. LPFILE_INFO lpFileInfo,
  31. UINT BlockIndex,
  32. BYTE KeyRecordIndex,
  33. LPKEY_RECORD FAR* lplpKeyRecord
  34. );
  35. int
  36. INTERNAL
  37. RgWriteDatablocks(
  38. LPFILE_INFO lpFileInfo,
  39. HFILE hSourceFile,
  40. HFILE hDestinationFile
  41. );
  42. VOID
  43. INTERNAL
  44. RgWriteDatablocksComplete(
  45. LPFILE_INFO lpFileInfo
  46. );
  47. VOID
  48. INTERNAL
  49. RgSweepDatablocks(
  50. LPFILE_INFO lpFileInfo
  51. );
  52. int
  53. INTERNAL
  54. RgAllocKeyRecordFromDatablock(
  55. LPFILE_INFO lpFileInfo,
  56. UINT BlockIndex,
  57. UINT Length,
  58. LPKEY_RECORD FAR* lplpKeyRecord
  59. );
  60. int
  61. INTERNAL
  62. RgAllocKeyRecord(
  63. LPFILE_INFO lpFileInfo,
  64. UINT Length,
  65. LPKEY_RECORD FAR* lplpKeyRecord
  66. );
  67. int
  68. INTERNAL
  69. RgExtendKeyRecord(
  70. LPFILE_INFO lpFileInfo,
  71. UINT BlockIndex,
  72. UINT Length,
  73. LPKEY_RECORD lpKeyRecord
  74. );
  75. VOID
  76. INTERNAL
  77. RgFreeDatablockInfoBuffers(
  78. LPDATABLOCK_INFO lpDatablockInfo
  79. );
  80. VOID
  81. INTERNAL
  82. RgFreeKeyRecord(
  83. LPDATABLOCK_INFO lpDatablockInfo,
  84. LPKEY_RECORD lpKeyRecord
  85. );
  86. VOID
  87. INTERNAL
  88. RgFreeKeyRecordIndex(
  89. LPDATABLOCK_INFO lpDatablockInfo,
  90. UINT KeyRecordIndex
  91. );
  92. #endif // _REGDBLK_