title: C++, parse binary registry file (regf)
body: <p>I have a question. There is a WinApi function RegSaveKey, which saves a registry key into a binary file. I know that this file can be loaded by RegLoadKey. </p>
  
  <p>But, how can I parse this binary file without that function? Actually, I'm looking not for a complete code, but for description of format of that files. </p>
  
  <p>Again, no need to parse TEXT *.reg files, I want to parse BINARY files like NTUSER.DAT and others at %system32%\config\ directory.</p>
  
  <p>UPD: no need to write to registry in that way, only read </p>