Michael Stefaniuc : regedit: Use the global HeapAlloc() wrappers.