I need a document that describes format of microsoft windows registry hive file format. The only thing I was able to find is this one
http://www.sentinelchicken.com/data/TheWindowsNTRegistryFileFormat.pdf
But it has nothing common with the real registry file format. Most of things described here doesn't work at all. For example "Relative offset of next hive bin" is 0 in most of my local files. Pointer to start of last hbin in file points to the middle of hbin. I understand that microsoft doesn't document this, however I know that people are writing parsers for registry files, so I think there should be one? Does anybody know of a better document?
Thanks in advance.