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.

75 lines
1.1 KiB

  1. //
  2. // REGKNODE.H
  3. //
  4. // Copyright (C) Microsoft Corporation, 1995
  5. //
  6. #ifndef _REGKNODE_
  7. #define _REGKNODE_
  8. int
  9. INTERNAL
  10. RgInitKeynodeInfo(
  11. LPFILE_INFO lpFileInfo
  12. );
  13. int
  14. INTERNAL
  15. RgLockKeynode(
  16. LPFILE_INFO lpFileInfo,
  17. DWORD KeynodeIndex,
  18. LPKEYNODE FAR* lplpKeynode
  19. );
  20. int
  21. INTERNAL
  22. RgLockInUseKeynode(
  23. LPFILE_INFO lpFileInfo,
  24. DWORD KeynodeIndex,
  25. LPKEYNODE FAR* lplpKeynode
  26. );
  27. VOID
  28. INTERNAL
  29. RgUnlockKeynode(
  30. LPFILE_INFO lpFileInfo,
  31. DWORD KeynodeIndex,
  32. BOOL fMarkDirty
  33. );
  34. int
  35. INTERNAL
  36. RgWriteKeynodes(
  37. LPFILE_INFO lpFileInfo,
  38. HFILE hSrcFile,
  39. HFILE hDestFile
  40. );
  41. VOID
  42. INTERNAL
  43. RgWriteKeynodesComplete(
  44. LPFILE_INFO lpFileInfo
  45. );
  46. VOID
  47. INTERNAL
  48. RgSweepKeynodes(
  49. LPFILE_INFO lpFileInfo
  50. );
  51. int
  52. INTERNAL
  53. RgAllocKeynode(
  54. LPFILE_INFO lpFileInfo,
  55. LPDWORD lpKeynodeIndex,
  56. LPKEYNODE FAR* lplpKeynode
  57. );
  58. int
  59. INTERNAL
  60. RgFreeKeynode(
  61. LPFILE_INFO lpFileInfo,
  62. DWORD KeynodeIndex
  63. );
  64. #endif // _REGKNODE_