That mistake was introduced when changing the bool return value to an HRESULT in the imported RegDelnode code.