Francois Gouget : regedit: The registry functions return standard error codes, not HRESULTs.